Number.MAX_VALUE, the largest double

The sign, exponent and mantissa bits of 1.7976931348623157e308, and the exact value it stores.

Stored value and bits

Examples

Note

All exponent bits but the last are ones, and every mantissa bit is one. Anything larger overflows to Infinity.

Other notable values