Me too. A float is of the form S*M*2^E.
S: sign (-1 or 1), 1 bit
M: mantissa, a 23 bits integer
E: exponent, a 8 bits integer
The size of M directly dictates the maximum number of digits after the decimal point.
[Edit:] Corrected myself, it's a 8 bits long exponenet, not 7 bits.
S: sign (-1 or 1), 1 bit
M: mantissa, a 23 bits integer
E: exponent, a 8 bits integer
The size of M directly dictates the maximum number of digits after the decimal point.
[Edit:] Corrected myself, it's a 8 bits long exponenet, not 7 bits.