Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hythloday
on Dec 17, 2012
|
parent
|
context
|
favorite
| on:
Twitter Starts Rolling Out Option To Download Your...
In Javascript (as well as Lua and PHP) ints are -- under the hood -- doubles. This means they can only represent a 53-bit int: outside that range they start to alias. You can see this in effect in a JS REPL:
10000000000000001 === 10000000000000000 True
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
10000000000000001 === 10000000000000000 True