Y
Hacker News
new
|
ask
|
show
|
jobs
by
pbsd
4696 days ago
> 32-bit integers in JS don't have float problems because the precision doesn't break
Unless you try multiplying them.
1 comments
invisible
4696 days ago
As long as the result is less than 9007199254740992 (9 quadrillion; 2^53). Who uses numbers that large? Regardless of the practicality, you can use a library if you need support for bigger numbers (e.g. crypto's BigInt.js).
link