mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
jetCheck: merge two ints into one double without sign promotion
This commit is contained in:
@@ -223,7 +223,7 @@ public class Generator<T> {
|
||||
return from(data -> {
|
||||
long i1 = data.drawInt();
|
||||
long i2 = data.drawInt();
|
||||
return Double.longBitsToDouble((i1 << 32) + i2);
|
||||
return Double.longBitsToDouble((i1 << 32) + (i2 & 0xffffffffL));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user