static void countDigits ( double val , long [ ] arr ) {
  while ( ( long ) val > 0 ) {
    long digit = ( long ) val % 10 ;
    arr [ ( int ) digit ] ++ ;
    val = ( long ) val / 10 ;
  }
  return ;
}

static void countDigits ( double val , long [ ] arr ) { while ( ( long ) val > 0 ) { long digit = ( long ) val % 10 ; arr [ ( int ) digit ] ++ ; val = ( long ) val / 10 ; } return ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (floating_point_type) name: (identifier)) (formal_parameter type: (array_type element: (integral_type) dimensions: (dimensions)) name: (identifier))) body: (block (while_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (integral_type) value: (identifier)) right: (decimal_integer_literal))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (cast_expression type: (integral_type) value: (identifier)) right: (decimal_integer_literal)))) (expression_statement (update_expression (array_access array: (identifier) index: (cast_expression type: (integral_type) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (integral_type) value: (identifier)) right: (decimal_integer_literal)))))) (return_statement)))