Here is an example showing how the floating type measurements come out
for the most common floating point representation, specified by the
IEEE Standard for Binary Floating Point Arithmetic (ANSI/IEEE Std
754-1985). Nearly all computers designed since the 1980s use this
format.
The IEEE single-precision float representation uses a base of 2. There
is a sign bit, a mantissa with 23 bits plus one hidden bit (so the total
precision is 24 base-2 digits), and an 8-bit exponent that can represent
values in the range -125 to 128, inclusive.
So, for an implementation that uses this representation for the
float data type, appropriate values for the corresponding
parameters are: