public static double METHOD_1 ( double n ) { if ( n < 0 ) { throw new TYPE_1 ( ) ; } return TYPE_2 . METHOD_2 ( n , 1 , ( - 1 ) ) ; }
public static double METHOD_1 ( double n ) { if ( n < 0 ) { throw new TYPE_1 ( ) ; } return n == 0 ? 0 : TYPE_2 . METHOD_2 ( n , 1 , ( - 1 ) ) ; }