Java 8 RFR 8022180: BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero

Brian Burkhalter brian.burkhalter at oracle.com
Mon Aug 12 23:27:50 UTC 2013


On Aug 12, 2013, at 2:08 PM, Brian Burkhalter wrote:

>>> Webrev	http://cr.openjdk.java.net/~bpb/8022180/
>>> 
>>> The update is to clear the quotient if the divisor is larger than the dividend in divideAndRemainderBurnikelZiegler().
>>> 
>>> Thanks,
>>> 
>>> Brian
>> Could the quotient be cleared at the top of the method as it is cleared for the schoolbook division anyway?
> 
> Yes, that would be a bit clearer.

Webrev updated at the same location.

Thanks,

Brian


More information about the core-libs-dev mailing list