private static double pow ( int k ) {
  double d = 0.0 ;
  if ( k == 0 ) return 1 ;
  if ( k % 2 == 0 ) {
    d = pow ( k / 2 ) ;
    return d * d ;
  }
  d = pow ( k / 2 ) ;
  return PHI * d * d ;
}

private static double pow ( int k ) { double d = 0.0 ; if ( k == 0 ) return 1 ; if ( k % 2 == 0 ) { d = pow ( k / 2 ) ; return d * d ; } d = pow ( k / 2 ) ; return PHI * d * d ; }
(method_declaration (modifiers) type: (floating_point_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_floating_point_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (return_statement (decimal_integer_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (decimal_integer_literal))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (return_statement (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (return_statement (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))