← Back to context Comment by colanderman 11 years ago How does storing integers in 32-bit values help the issue of integers being truncated to 53 bits? 4 comments colanderman Reply esailija 11 years 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 11 years ago Who said anything about 64 bits? esailija 11 years ago The complaint was that JavaScript doesn't have 64-bit integers but only 53. e12e 11 years ago Clearly 2^32+2^32 < 2*53, so there is no problem ;-)
esailija 11 years 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 11 years ago Who said anything about 64 bits? esailija 11 years ago The complaint was that JavaScript doesn't have 64-bit integers but only 53.
colanderman 11 years ago Who said anything about 64 bits? esailija 11 years ago The complaint was that JavaScript doesn't have 64-bit integers but only 53.
53 bits that cannot overflow (it only becomes less accurate) is not enough but 64 bits are, even with the risk of overflow?
Who said anything about 64 bits?
The complaint was that JavaScript doesn't have 64-bit integers but only 53.
Clearly 2^32+2^32 < 2*53, so there is no problem ;-)