As mentioned previously, and repeated for your convenience, an IEEE single precision floating point number, z, is stored in 32 bits, with parts s, the sign bit; e, the 8-bit excess-127 exponent; and, f, the 23 bit fractional part as shown below.
Since all of the bit patterns are accounted for above, we must set
aside several exceptional or signal values which are interpreted by
the rules below, instead of the simple-minded formula above.
s | e | f | Meaning |
0/1 | Zero | ||
0/1 | non-zero | DeNormalized | |
0 | |||
1 | |||
0/1 | non-zero | Not a Number (NaN) |