Code review request for 6560935: BigInteger.modPow() throws ArithmeticException for negative exponent (original) (raw)
Alan Bateman Alan.Bateman at Sun.COM
Wed Oct 21 13:01:04 UTC 2009
- Previous message: Code review request for 6560935: BigInteger.modPow() throws ArithmeticException for negative exponent
- Next message: Code review request for 4206909 : adding Z_SYNC_FLUSH support to deflaters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Joseph D. Darcy wrote:
Hello.
Please review this small doc clarification; modPow is not defined for negative exponents unless the BigInteger being operated on is relatively prime to the modulus. There are a few stylistic javadoc cleanups in the patch below too. Webrev: http://cr.openjdk.java.net/~darcy/6560935.0/ Thanks, -Joe This looks right (and the stylistic changes are okay too).
-Alan.
- Previous message: Code review request for 6560935: BigInteger.modPow() throws ArithmeticException for negative exponent
- Next message: Code review request for 4206909 : adding Z_SYNC_FLUSH support to deflaters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]