作者pboywc (AC)
看板TransCSI
标题[问题] 浮点数
时间Fri Apr 21 00:14:38 2006
格式是
23 22~16 15~0
S exp significand
条件
the exponent of floating point numbers is biased by adding 64 to
its value and the significand is normalized by choosing the expont
so that the binary point falls to the right of the leftmost 1 bit
which is not stored in the internal
简单来讲应该就是 excess=64 base=2 还有1bit的隐藏位元
题目是
Convert the decimal number 71.625 to its internal floating point
hexadecimal representation
答案是4C3D0A
不知道怎麽算的
恳请帮忙
谢谢
--
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.34.243.63
※ 编辑: pboywc 来自: 218.34.243.63 (04/21 00:17)