JavaScript Numbers are Always 64-bit Floating Point which follows the international IEEE 754 standard

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:
Value (aka Fraction/Mantissa)ExponentSign
52 bits (0 - 51) 11 bits (52 - 62)1 bit (63)

Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...