question: public void testFloatValuePlusZero ( ) { String a = "123809648392384754573567356745735.63567890295784902768787678287E-400" ; BigDecimal aNumber = new BigDecimal ( a ) ; int zero = 0 ; float result = aNumber . floatValue ( ) ; assertTrue ( "incorrect value" , Float . floatToIntBits ( result ) == zero ) ; }
target:  Float value of a small positive BigDecimal