We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
main() { var a = [ 0x80 ]; print(a[0] << 24); print(0x80 << 24); }
yields:
-2147483648 2147483648
The inconsistency is confusing.
Maybe we could generate JS code that yields positive numbers for 32-bit bitops?