News for hackers. Stuff that matters.
Re:Every day I learn something new... and stupid. by kristianp on Friday October 15, 2010 @07:44PM (#1796820)
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.
Re:Every day I learn something new... and stupid. by tptacek on Friday October 15, 2010 @08:09PM (#1796864)
If you need an int larger than that in JS, you use a bignum library.
Re:Every day I learn something new... and stupid. by metageek on Friday October 15, 2010 @09:15PM (#1797007)
...yes, that would follow.

Ow. Ow. Ow.

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

Re:Every day I learn something new... and stupid. by glhaynes on Saturday October 16, 2010 @06:09PM (#1798996)
You don't have to roll your own, do you?