This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Another BigInteger bug.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]