question: public void testConstrStringExponentIntegerMax ( ) { String a = "-238768.787678287e2147483647" ; int aScale = - 2147483638 ; BigInteger bA = new BigInteger ( "-238768787678287" ) ; BigDecimal aNumber = new BigDecimal ( a ) ; assertEquals ( "incorrect value" , bA , aNumber . unscaledValue ( ) ) ; assertEquals ( "incorrect scale" , aScale , aNumber . scale ( ) ) ; }
target:  new BigDecimal(String value) when exponent is Integer.MAX_VALUE.