Double function ( String arg0 ) { Double loc0 ; BigDecimal loc1 = new BigDecimal ( arg0 ) ; if ( isDangerous ( loc1 ) ) { if ( loc1 . compareTo ( MIDDLE ) >= 0 ) { loc0 = UPPER_DOUBLE ; } else { loc0 = LOWER_DOUBLE ; } } else { loc0 = Double . valueOf ( arg0 ) ; } return loc0 ; }
slow parsing of a suspicious value rounding takes place if the value is inside the bad interval concode_field_sep String SUSPICIOUS_DIGITS concode_elem_sep BigDecimal LOWER concode_elem_sep Double LOWER_DOUBLE concode_elem_sep BigDecimal TWO concode_elem_sep Double UPPER_DOUBLE concode_elem_sep BigDecimal MIDDLE concode_elem_sep BigDecimal UPPER concode_field_sep boolean isDangerous concode_elem_sep boolean isSuspicious concode_elem_sep double decimalValue concode_elem_sep double decimalValue concode_elem_sep Double decimalValueOf concode_elem_sep String digits