In binary notation, what is the meaning of the digits after the radix point “.”?

后端 未结 7 509
感情败类
感情败类 2020-12-28 13:22

I have this example on how to convert from a base 10 number to IEEE 754 float representation

Number: 45.25 (base 10) = 101101.01 (base 2) Sign: 0
Normalized          


        
7条回答
  •  生来不讨喜
    2020-12-28 14:07

    2.00010 = 2+1 = 10.0002
    1.00010 = 2+0 = 01.0002
    0.50010 = 2-1 = 00.1002
    0.25010 = 2-2 = 00.0102
    0.12510 = 2-3 = 00.0012

提交回复
热议问题