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

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

计算机科学 > 程序设计语言

arXiv:2405.04612 (cs)
[提交于 2025年4月10日]

标题:Numerical Fuzz: A Type System for Rounding Error Analysis

作者:Ariel E. Kellison, Justin Hsu
查看论文《Numerical Fuzz: A Type System for Rounding Error Analysis》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Algorithms operating on real numbers are implemented as floating-point computations in practice, but floating-point operations introduce roundoff errors that can degrade the accuracy of the result. We propose $\Lambda_{num}$, a functional programming language with a type system that can express quantitative bounds on roundoff error. Our type system combines a sensitivity analysis, enforced through a linear typing discipline, with a novel graded monad to track the accumulation of roundoff errors. We prove that our type system is sound by relating the denotational semantics of our language to the exact and floating-point operational semantics. To demonstrate our system, we instantiate $\Lambda_{num}$ with error metrics proposed in the numerical analysis literature and we show how to incorporate rounding operations that faithfully model aspects of the IEEE 754 floating-point standard. To show that $\Lambda_{num}$ can be a useful tool for automated error analysis, we develop a prototype implementation for $\Lambda_{num}$ that infers error bounds that are competitive with existing tools, while often running significantly faster. Finally, we consider semantic extensions of our graded monad to bound error under more complex rounding behaviors, such as non-deterministic and randomized rounding.
主题: 程序设计语言 (cs.PL); 数值分析 (cs.NA); 数值分析 (math.NA)
引用方式: arXiv:2405.04612 [cs.PL]
  (或者 arXiv:2405.04612v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2405.04612
相关 DOI: https://doi.org/10.1145/3656456

提交历史

来自:Ariel Kellison
[v1] 2025年4月10日 星期四 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-04
切换浏览方式为:
cs
cs.NA
math.NA

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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