Certain bit patterns of a floating number are special, and they do not represent the values that they normally should. This is necessary to represent special values for floating point related computations.
For this discussion, let us assume the exponent has x bits, e be the unsigned raw value of the exponent (e ∈ [0…2x − 1]). Furthermore, assume the mantissa has n bits, and m be the unsigned raw value of the mantissa bit pattern (m ∈ [0…2n − 1). The exponent bias is 2x−1 − 1.