I am reading "Numerical Recipes in C The Art of Scientific Computing", and in chapter one there is a section which discusses how floating point numbers are represented from a somewhat architecture agnostic standpoint. This post pertains to the i386 family of the Intel processors, and how floating point numbers are represented in that architecture. My question specifically targets how the biased exponent is computed and how the Mantissa is represented. Is the leading one stored in the Mantissa or not.
In "Numerical Recipes in C The Art of Scientific Computing", I am given the formula:
s X M X B^(e - E) : s is a single bit to denote sign, M is the mantissa, B is the base (base 2), e is the exponent, and E is the bias on the exponent.
- Is e stored in 2's complement, or is it an unsigned 8 bit field?
- E is the bias. Is the bias 127?
- Is the mantissa to be read as 1.00000(2) or is it read .0000000(2)? Where (2) is base 2.