表示十进制数的其他方式
大多数时候,十进制数以浮点数格式表示。然而,这种数据格式有一些缺点,对于某些应用程序,其他格式可能更有用。
我知道固定精度算术曾经很流行,但被浮点所取代。但除了这两种之外,我还没有听说过任何其他在计算机上表示实数的方法。
我的问题是 - 提出了哪些数字格式来表示实数以及它们对于哪些应用程序可能比浮点标准更有用?
*我不确定这是否是发布此问题的合适网站,所以如果不合适,请建议一个更好的网站。
Most of the time, decimal numbers are represented in the floating-point number format. However, this data format has some drawbacks and it is possible that for some applications, other formats could be more useful.
I know that fixed-precision arithmetic used to be a thing, but was abandoned in favour of floating-point. But apart from these two, I have not heard of any other ways to represent real numbers on a computer.
My question is - what number formats have been proposed to represent real numbers and for which applications might they be more useful than the floating-point standard?
*I'm not sure if this is the appropriate site to post this question, so please suggest a better one if not.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论