-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Value display error #33861
Comments
You should file your bug report against the bytebuffer package, not here. |
Duplicate of nodejs/help#2268 and nodejs/help#2230. JavaScript stores all numbers as double-precision binary IEEE 754 floating point values. Each number is internally stored on 64 bits: 1 bit for sign, 52 for mantissa and 11 for exponent. Given that it has limited number of bits available, it can therefore represent only a limited number of different values. Integers are just a small subset of that. The maximal integer you can safely represent (without losing the precision) is To solve the problem, you can use BigInt (simply add |
node: v12.16.1
os: window x64
output
The text was updated successfully, but these errors were encountered: