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 21:08:05 UTC 2013


On Aug 12, 2013, at 2:05 PM, Alan Bateman wrote:

> On 10/08/2013 01:39, Brian Burkhalter wrote:
>> Please review at your convenience:
>> 
>> Issue	http://bugs.sun.com/view_bug.do?bug_id=8022180
>> 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.

Thanks,

Brian


More information about the core-libs-dev mailing list