2^53 + 1 cannot be stored

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

Stored value and bits

Examples

Note

9007199254740993 rounds to 9007199254740992 as a double. This is how large database IDs get corrupted by JSON.parse. Use BigInt or send them as strings.

Other notable values