Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kristianp
on Oct 15, 2010
|
parent
|
context
|
favorite
| on:
Every day I learn something new... and stupid.
So basically, the only numeric type of javascript is a float, which can only represent integers up to 2^53 accurately. Not good if you need an int larger than that.
tptacek
on Oct 16, 2010
[–]
If you need an int larger than that in JS, you use a bignum library.
metageek
on Oct 16, 2010
|
parent
[–]
...yes, that would follow.
Ow. Ow. Ow.
At least the bignum library will be easier to write in JS than in C...
glhaynes
on Oct 16, 2010
|
root
|
parent
[–]
You don't have to roll your own, do you?
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: