public double METHOD_1 ( double x ) { if ( x <= FLOAT_1 ) return FLOAT_2 * x ; if ( ( x > FLOAT_1 ) && ( x <= FLOAT_3 ) ) return ( ( - x ) - 1 ) * FLOAT_2 ; if ( x > FLOAT_3 ) return ( x - INT_1 ) * FLOAT_2 ; return 0.0 ; }

public double METHOD_1 ( double x ) { if ( x <= FLOAT_1 ) return FLOAT_2 * x ; if ( ( x > FLOAT_1 ) && ( x <= FLOAT_3 ) ) return ( ( - x ) + 1.0 ) * FLOAT_2 ; if ( x > FLOAT_3 ) return ( x - FLOAT_2 ) * FLOAT_2 ; return 0.0 ; }
