* BigInteger.java: fix right shifts by nonzero multiples of 32.

From-SVN: r44963
This commit is contained in:
Hans Boehm 2001-08-17 16:28:32 +00:00
parent ff0a63e8e4
commit 552bf3d6af
1 changed files with 1 additions and 1 deletions

View File

@ -1398,7 +1398,7 @@ public class BigInteger extends Number implements Comparable
MPN.rshift0 (words, x.words, word_count, d_len, count);
ival = d_len;
if (neg)
words[d_len-1] |= -1 << (32 - count);
words[d_len-1] |= -2 << (31 - count);
}
}
}