Another BigInteger bug.
Tom Tromey
tromey@redhat.com
Fri Aug 17 10:08:00 GMT 2001
Hans> Right shifts of negative numbers by nonzero multiples of 32
Hans> generally produced the wrong answer. This seems to be yet
Hans> another case where the code assumed that left shifting an int by
Hans> 32 produced 0.
Per> Oops. How about the following instead, which avoids the extra test:
Thanks guys.
Could one of you review this BigInteger patch?
http://gcc.gnu.org/ml/java/2001-08/msg00058.html
I haven't done anything with BigInteger, so I'm reluctant to approve
or reject it.
Tom
More information about the Java-patches
mailing list