Skip to content

Instantly share code, notes, and snippets.

@etale
Created June 22, 2020 02:38
Show Gist options
  • Save etale/4090d356c016f015b791be319a0361d9 to your computer and use it in GitHub Desktop.
Save etale/4090d356c016f015b791be319a0361d9 to your computer and use it in GitHub Desktop.
Number.MAX_VALUE
(2**53-1)/2**52 * 2**1023 === Number.MAX_VALUE
@etale
Copy link
Author

etale commented Jun 22, 2020

6361 * 69431 * 20394401 * 2**971 === Number.MAX_VALUE
6361n * 69431n * 20394401n * 2n**971n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment