You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wouldn't it be possible to make ints that are not in the big-int range behave as expected? -1 is clearly within the precise range of JavaScript numbers.
The attached dart program fails: It seems -1 << 0 results in 4294967295 instead of -1.
foo(a) => a << 0;
main() {
Expect.equals(-1, foo(-1));
}
Attachment:
shl-by-0.dart (60 Bytes)
The text was updated successfully, but these errors were encountered: