fixes a bug in the test case bits(n,m) command if n is 64; fixes #535

This commit is contained in:
hneemann 2020-10-16 12:41:34 +02:00
parent 9c15089b14
commit 661bd7f4cc

View File

@ -34,7 +34,7 @@ public class ValueAppenderBits implements ValueAppender {
for (int i = 0; i < bitCount; i++) {
boolean v = (value & mask) != 0;
values.add(new Value(v ? 1 : 0));
mask >>= 1;
mask >>>= 1;
}
}
}