跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数学软件

arXiv:2404.00387 (cs)
[提交于 2024年3月30日]

标题:Inexactness and Correction of Floating-Point Reciprocal, Division and Square Root

作者:Lucas M. Dutton, Christopher Kumar Anand, Robert Enenkel, Silvia Melitta Müller
查看论文《Inexactness and Correction of Floating-Point Reciprocal, Division and Square Root》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Floating-point arithmetic performance determines the overall performance of important applications, from graphics to AI. Meeting the IEEE-754 specification for floating-point requires that final results of addition, subtraction, multiplication, division, and square root are correctly rounded based on the user-selected rounding mode. A frustrating fact for implementers is that naive rounding methods will not produce correctly rounded results even when intermediate results with greater accuracy and precision are available. In contrast, our novel algorithm can correct approximations of reciprocal, division and square root, even ones with slightly lower than target precision. In this paper, we present a family of algorithms that can both increase the accuracy (and potentially the precision) of an estimate and correctly round it according to all binary IEEE-754 rounding modes. We explain how it may be efficiently implemented in hardware, and for completeness, we present proofs that it is not necessary to include equality tests associated with round-to-nearest-even mode for reciprocal, division and square root functions, because it is impossible for input(s) in a given precision to have exact answers exactly midway between representable floating-point numbers in that precision. In fact, our simpler proofs are sometimes stronger.
主题: 数学软件 (cs.MS); 硬件体系结构 (cs.AR)
引用方式: arXiv:2404.00387 [cs.MS]
  (或者 arXiv:2404.00387v1 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.2404.00387

提交历史

来自:Christopher Anand
[v1] 2024年3月30日 星期六 15:02:03 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.MS
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-03
切换浏览方式为:
cs
cs.AR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站