Unlike many other programming languages, JavaScript does not define different types of numbers, like integers, short, long, floating-point etc.

This format stores numbers in 64 bits, where the number (the fraction) is stored in bits 0 to 51, the exponent in bits 52 to 62, and the sign in bit 63:

This format stores numbers in 64 bits, where the number (the fraction) is stored in bits 0 to 51, the exponent in bits 52 to 62, and the sign in bit 63:

Value (aka Fraction/Mantissa) | Exponent | Sign |
---|---|---|

52 bits (0 - 51) | 11 bits (52 - 62) | 1 bit (63) |