发布于 2004-07-20 21:25:56
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.
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
学而时习之,不亦说乎?温故而知新,不亦乐乎?