jdk-24/jdk/test/java/math/BigInteger
Dmitry Nadezhin 9e7ba92bff 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers
8021203: BigInteger.doubleValue/floatValue returns 0.0 instead of Infinity
8021204: Constructor BigInteger(String val, int radix) doesn't detect overflow
8022780: Incorrect BigInteger division because of MutableBigInteger.bitLength() overflow

Prevent construction of overflowed BigIntegers.

Reviewed-by: bpb, darcy, psandoz
2013-10-30 17:45:12 -07:00
..
BigIntegerTest.java 8022180: BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero 2013-08-12 16:21:10 -07:00
BitLengthOverflow.java 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers 2013-10-30 17:45:12 -07:00
CompareToTests.java 8022094: BigDecimal/CompareToTests and BigInteger/CompareToTests are incorrect 2013-08-02 11:10:41 -07:00
DivisionOverflow.java 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers 2013-10-30 17:45:12 -07:00
DoubleValueOverflow.java 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers 2013-10-30 17:45:12 -07:00
ExtremeShiftingTests.java 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers 2013-10-30 17:45:12 -07:00
ModPow65537.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
ModPow.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
ModPowPowersof2.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
OperatorNpeTests.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
PrimitiveConversionTests.java 7131192: BigInteger.doubleValue() is depressingly slow 2013-06-21 11:50:45 -07:00
ProbablePrime.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
StringConstructor.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
StringConstructorOverflow.java 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers 2013-10-30 17:45:12 -07:00
SymmetricRangeTests.java 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers 2013-10-30 17:45:12 -07:00
TestValueExact.java 6879143: java.math.BigInteger misses the xxxValueExact methods 2011-09-14 11:32:11 -07:00
UnicodeConstructor.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00