|
|
|
|
|
by seritools
1942 days ago
|
|
The point is that not all integers over `Number.MAX_SAFE_INTEGER` can be represented. Some can, of course. That 2^53 - 1 comes from the 64-Bit floating point representation JS uses for the normal number type. (Number.MAX_SAFE_INTEGER + 1) === (Number.MAX_SAFE_INTEGER + 2)
> true
edit: yeah, just as you wrote in the reply to the other comment |
|
Right. This contradicts the article.
> 2^53 - 1 comes from the 64-Bit floating point representation JS uses
Right.