Infinity in floating point

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

Stored value and bits

Examples

Note

All exponent bits are ones and the mantissa is zero. Dividing a non-zero number by zero gives Infinity, not an error.

Other notable values