Floating Point to Hex Conversion

后端 未结 0 1495
灰色年华
灰色年华 2021-02-07 06:14

I have a floating point 100.65625. The equivalent hex representation is 42C95000. However, when I call the hex() function on 100.65625 in Python (100.65625.hex()), I get \'0x1.9

相关标签:
回答
  • 消灭零回复
提交回复
热议问题