mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-31 15:31:11 +08:00
* BigInteger.java: fix right shifts by nonzero multiples of 32.
From-SVN: r44963
This commit is contained in:
parent
ff0a63e8e4
commit
552bf3d6af
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user