public void testFloatValueNegInfinity(){
  String a="-123809648392384755735.63567887678287E+200";
  BigDecimal aNumber=new BigDecimal(a);
  float result=Float.NEGATIVE_INFINITY;
  assertTrue("incorrect value",aNumber.floatValue() == result);
}

public void testFloatValueNegInfinity ( ) { String a = "-123809648392384755735.63567887678287E+200" ; BigDecimal aNumber = new BigDecimal ( a ) ; float result = Float . NEGATIVE_INFINITY ; assertTrue ( "incorrect value" , aNumber . floatValue ( ) == result ) ; }
float value of a large negative bigdecimal
