What is the rationale for exponent and mantissa sizes in IEEE floating point standards?

混江龙づ霸主 提交于 2019-11-28 14:09:56

According to this interview with Will Kahan, they were based on the VAX F and G formats of the era.

Of course that doesn't answer the question of how those formats were chosen...

For 32-bit IEEE floats, the reasoning is that the precision should be at least as good as 24 bits fixed point.

Why exactly 24 bits, I don't know, but it seems like a reasonable tradeoff.

I suppose having a nice "round" number like that (mantissa + sign = 3 bytes, exponent = 1 byte) can also make implementations more efficient.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!