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

Alan Bateman Alan.Bateman at oracle.com
Mon Aug 12 21:05:42 UTC 2013


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?

-Alan.



More information about the core-libs-dev mailing list