public static void main ( String [ ] $ ) {
  double p = s . nextDouble ( ) ;
  DoubleUnaryOperator f = i -> i + p / Math . pow ( 2 , i / 1.5 ) ;
  System . out . println ( f . applyAsDouble ( goldenSelectionSearch ( 0 , p , 1e-9 , f ) ) ) ;
}

public static void main ( String [ ] $ ) { double p = s . nextDouble ( ) ; DoubleUnaryOperator f = i -> i + p / Math . pow ( 2 , i / 1.5 ) ; System . out . println ( f . applyAsDouble ( goldenSelectionSearch ( 0 , p , 1e-9 , f ) ) ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (lambda_expression parameters: (identifier) body: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (binary_expression left: (identifier) right: (decimal_floating_point_literal))))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation name: (identifier) arguments: (argument_list (decimal_integer_literal) (identifier) (decimal_floating_point_literal) (identifier))))))))))