Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
colanderman
10y ago
0 comments
Share
How does storing integers in 32-bit values help the issue of integers being truncated to 53 bits?
0 comments
default
newest
oldest
esailija
10y ago
53 bits that cannot overflow (it only becomes less accurate) is not enough but 64 bits are, even with the risk of overflow?
colanderman
OP
10y ago
Who said anything about 64 bits?
esailija
10y ago
The complaint was that JavaScript doesn't have 64-bit integers but only 53.
e12e
10y ago
Clearly 2^32+2^32 < 2*53, so there is no problem ;-)
j
/
k
navigate · click thread line to collapse