Other |
---|
1.4.0 beta3Fixed |
Relates :
|
The specs for BigDecimal string constructor state that "The value of the exponenet must lie between Integer.MIN_VALUE and Integer.MAX_VALUE, inclusive." However, a call BigDecimal("1E" + Integer.MIN_VALUE) fails with a java.lang.ArithmeticException: Negative exponent from the BigInteger.pow method. Either the spec should be changed on the JavaDoc should be modified.
|