Changes merged from Kawa's gnu.math.
authorPer Bothner <per@bothner.com>
Fri, 2 Mar 2001 06:55:33 +0000 (22:55 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Fri, 2 Mar 2001 06:55:33 +0000 (22:55 -0800)
commitc04278f74fd6b49f7a770ae51fd1dd0412989af7
tree30e3d7caf1e4140d48d269c9d3049f16681a89ca
parentd6edb99e92ed0d198857f104e81d98c57ad5d768
Changes merged from Kawa's gnu.math.

* java/math/BigInteger.java
* gnu/gcj/math/MPN.java (rshift0): New method handles zero shift count.
(rshift(int[],int[],int,int):  Removed - not needed.
(gcd):  Use rshift0 rather than rshift.
* java/math/BigInteger.java (setShiftRight):  Likewise.
(divide):  Simplify by using rshift0.
(divide):  Zero-extend results if high-order bit set.

From-SVN: r40177
libjava/ChangeLog
libjava/gnu/gcj/math/MPN.java
libjava/java/math/BigInteger.java