Bitwise & #323
Unanswered
Valbou
asked this question in
WTF Questions
Bitwise &
#323
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Can you explain this JS behavior ?
Why I get negative value when i == 31 and 0 after. It seems to match integer standard size (integer overflow).
Some other languages have consistent values over 32 bits. At least on x64 CPU.
Values seem approximate after i > 53 (according to Number.MAX_SAFE_INTEGER safe limit)
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions