Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


If you need an int larger than that in JS, you use a bignum library.


...yes, that would follow.

Ow. Ow. Ow.

At least the bignum library will be easier to write in JS than in C...


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: