private float METHOD_1 ( final int VAR_1 , final int ... VAR_2 ) { float sum = VAR_1 ; for ( int num : VAR_2 ) { sum += num ; } if ( sum == 0 ) return 0.0F ; if ( sum == VAR_1 ) return FLOAT_1 ; return ( VAR_1 / sum ) * INT_1 ; }

private float METHOD_1 ( final float ... values ) { float sum = 0 ; for ( float num : values ) { sum += num ; } if ( sum == 0.0F ) return 0.0F ; if ( sum == ( values [ 0 ] ) ) return FLOAT_1 ; return ( ( values [ 0 ] ) / sum ) * INT_1 ; }
