question: public void testDoubleValueNegInfinity ( ) { String a = "-123809648392384754573567356745735.63567890295784902768787678287E+400" ; BigDecimal aNumber = new BigDecimal ( a ) ; double result = Double . NEGATIVE_INFINITY ; assertEquals ( "incorrect value" , result , aNumber . doubleValue ( ) , 0 ) ; }
target:  Double value of a large negative BigDecimal