If a number in the format of the single precision is shown as hex 7F41F000, determine its numeric value.
So I converted it to binary: 0111 1111 0100 0001 1111 0000 0000 0000
By looking at binary representation of given number I find following:
s (sign) = 0
exp = 1111 1110 = 254(decimal)
mantissa = 1000 0011 1110 0000 0000 0000
So doing some calculations i get that
e = 254 - 127 = 127
m (decimal part) = 0.51513671875
and formula for final result is -1^s x (1 + m) x 2^e which is 1.51513671875 x 2^127
Since I listened lecture about this 2 days ago I am not entirely sure if I did it right.
What I am asking is confirmation of correctness or saying what I did wrong and where exactly, I would appreciate if anyone gives me points on this topic, as far i know, this is IEEE 754 standard for floating point computation.
Oh and I included better written format of this problem. Check it here