Number of bits in Javascript numbers

Posted by Misha Moroshko on Stack Overflow See other posts from Stack Overflow or by Misha Moroshko
Published on 2010-05-10T13:33:00Z Indexed on 2010/05/10 13:44 UTC
Read the original article Hit count: 215

Filed under:

I work in Javascript with integer numbers only (mainly adding numbers and shifting them). I wonder how big they can be without loosing any bits.

For example, how big X can be such that 1 << X will represent 2^X ?

© Stack Overflow or respective owner

Related posts about JavaScript