UP | HOME

Floating number in binary format

1. In one picture

2. How to calculate its decimal value

exponent(0111 1100) := 27 - 4 - (2(8-1) - 1) = -3
fraction :=1.012 = 1.2510

here, m = 1. because the number above is normalized. follow to the link below to see the detail why m=1.

So the result is: 1.25 * (2-3) = 0.15625

Found interesting when I was studying the IEEE-754 Standard, and of course I can not understand several concepts.