News for hackers. Stuff that matters.
Re:Be careful with JS numbers by prophetjohn on Sunday January 13, 2013 @02:27PM (#5051570)

    I have determined by experience that 9007199254740995
    (which is 2^53+3) is the smallest not representable
    integer in Javascript.
Here's something to drop in your browser console as an amusing illustration of this

     9007199254740994 === 
    (9007199254740995 - 1)
and

     9007199254740995 === 
    (9007199254740995 - 1)
Re:Be careful with JS numbers by evincarofautumn on Sunday January 13, 2013 @04:29PM (#5051924)
He’dn’t’ve had to “determine” it, had he known the basics of IEEE-754.
Re:Be careful with JS numbers by gren on Sunday January 13, 2013 @02:47PM (#5051637)
Hehe fun one! and also:

    9007199254740995 - 1 - 1 - 1 - 1