IEEE 浮点格式中的隐含位
为什么 IEEE 浮点格式中有隐含(或隐藏)位?其目的是什么? 维基百科中提到了这一点。
Why is there an implied (or hidden) bit in IEEE floating point format? What is the purpose of it? It is mentioned in passing on Wikipedia.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自了解 IEEE 浮点错误的(完整)教程:
它基本上允许更高的精度。
From (Complete) Tutorial to Understand IEEE Floating-Point Errors:
It basically allows for higher precision.
我认为最重要的是要知道它实际上并未存储在内存中:
例如,在半精度浮点(16 位或 2 个字节,又名FP16)中,有 1 个符号位、5 个指数位和 10 个实际有效数字位。
1 + 5 + 10 = 16
,然后隐含的一个额外有效位始终为== 1
。IEEE 浮点格式的隐含位
I suppose that the most important thing to know is that it is not actually stored in memory:
So for instance in the half-precision floating point (16 bits, or 2 bytes, aka. FP16), there are 1 sign bit, 5 exponent bits, and 10 actual significand bits.
1 + 5 + 10 = 16
, and then there's the implied one extra significand bit that's always== 1
.Implied bit in IEEE floating point format