I am studying for an exam and I am confused about finding the "V" (The numeric value represented) and "f" fraction, in floating point rep
Let us use this example
16 bit:
|S (1 bit)|exp( 7 bit)|M (8 bit)|
Find:
exp: the value represented by considering the exponent field to be an unsigned integer
E
: the value of the exponent after biasing
M
: the value of the significant
V
: the numeric value represented
f
: the value of the fraction
Start with: 10.0000001
- Find our Bias: 2^(k-1)-1, Bias = 2(^6)-1 = 63
- Shift decimal: 1.00000001, E = 1 from a 2^1 shift
- M is to the right of the decimal, M = 00000001
- Find exp = E = exp - Bias, exp = 64
- sign bit is 0 when looking to the bit right after the decimal
Is this correct so far?
So our fp rep is : 0100000000000001 Hex: 0x4001
Now my question what is f and V?
I understand V is found from -1^s*M*2^E
but I seem to have something messed up.