发布于 2004-11-17 22:02:44
0楼
当然有规律了。转换如下:
The IEEE floating format is as follows:
Bit 31 = sign, bit 23 to bit 30 = exponent and bit 0 to bit 22 = mantissa specified by a decimal value: Value = ((-1) to power of sign) x (2 to the power (exponent - 127)) x 1.mantissa.
值:=4248 0000 =#0100 0010 0100 1000 0000 0000 0000 0000
In this example with sign = 0, exponent = 84 (hex) = 132 and mantissa (1).900000
= [1 + 9/16 + 0/256 + ...] the following is obtained (1) x (32) x (1.5625) = 50.00
你的数据:16579=6.09375Hz
学而时习之,不亦说乎?温故而知新,不亦乐乎?