16777217, the first integer a float cannot store

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

Stored value and bits

Examples

Note

A 32-bit float has 24 bits of precision, so 2^24 + 1 rounds to 16777216. GPU code and game engines that use floats for counters hit this.

Other notable values