Lune

POPL2021顶会

An approach to generate correctly rounded math libraries for new floating point variants

Jay P. Lim, Mridul Aanjaneya, John L. Gustafson, Santosh Nagarakatte

摘要

Given the importance of floating point (FP) performance in numerous domains, several new variants of FP and its alternatives have been proposed (e.g., Bfloat16, TensorFloat32, and posits). These representations do not have correctly rounded math libraries. Further, the use of existing FP libraries for these new representations can produce incorrect results. This paper proposes a novel approach for generating polynomial approximations that can be used to implement correctly rounded math libraries. Existing methods generate polynomials that approximate the real value of an elementary function 𝑓 (𝑥) and produce wrong results due to approximation errors and rounding errors in the implementation. In contrast, our approach generates polynomials that approximate the correctly rounded value of 𝑓 (𝑥) (i.e., the value of 𝑓 (𝑥) rounded to the target representation). It provides more margin to identify efficient polynomials that produce correctly rounded results for all inputs. We frame the problem of generating efficient polynomials that produce correctly rounded results as a linear programming problem. Using our approach, we have developed correctly rounded, yet faster, implementations of elementary functions for multiple target representations.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • High performance correctly rounded math libraries for 32-bit floating point representations 引用了 Detecting floating-point errors via atomic conditions
  • High performance correctly rounded math libraries for 32-bit floating point representations 引用了 Debugging and detecting numerical errors in computation with posits
  • Progressive polynomial approximations for fast correctly rounded math libraries 引用了 High performance correctly rounded math libraries for 32-bit floating point representations
  • Progressive polynomial approximations for fast correctly rounded math libraries 引用了 One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes
  • Parallel shadow execution to accelerate the debugging of numerical errors 引用了 High performance correctly rounded math libraries for 32-bit floating point representations
  • Parallel shadow execution to accelerate the debugging of numerical errors 引用了 Detecting floating-point errors via atomic conditions
  • Parallel shadow execution to accelerate the debugging of numerical errors 引用了 Debugging and detecting numerical errors in computation with posits
  • One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes 引用了 High performance correctly rounded math libraries for 32-bit floating point representations
  • One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes 引用了 Detecting floating-point errors via atomic conditions
  • Fast shadow execution for debugging numerical errors using error free transformations 引用了 High performance correctly rounded math libraries for 32-bit floating point representations
  • Fast shadow execution for debugging numerical errors using error free transformations 引用了 Progressive polynomial approximations for fast correctly rounded math libraries
  • Fast shadow execution for debugging numerical errors using error free transformations 引用了 Parallel shadow execution to accelerate the debugging of numerical errors
  • Fast shadow execution for debugging numerical errors using error free transformations 引用了 One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes
  • Fast shadow execution for debugging numerical errors using error free transformations 引用了 Detecting floating-point errors via atomic conditions
  • Fast shadow execution for debugging numerical errors using error free transformations 引用了 Debugging and detecting numerical errors in computation with posits
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Parallel shadow execution to accelerate the debugging of numerical errorsSangeeta Chowdhary, Santosh NagarakatteFSE 2021 · 21 次引用
  2. High performance correctly rounded math libraries for 32-bit floating point representationsJay P. Lim, Santosh NagarakattePLDI 2021 · 19 次引用
  3. One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modesJay P. Lim, Santosh NagarakattePOPL 2022 · 15 次引用
  4. Fast shadow execution for debugging numerical errors using error free transformationsSangeeta Chowdhary, Santosh NagarakatteOOPSLA 2022 · 13 次引用
  5. Progressive polynomial approximations for fast correctly rounded math librariesMridul Aanjaneya, Jay P. Lim, Santosh NagarakattePLDI 2022 · 9 次引用

它引用的 Paper3

  1. Detecting floating-point errors via atomic conditionsDaming Zou, Muhan Zeng, Yingfei Xiong, Zhoulai Fu 等POPL 2020 · 45 次引用
  2. Learning compositional functions via multiplicative weight updatesJeremy Bernstein, Jiawei Zhao, Markus Meister, Ming-Yu Liu 等NeurIPS 2020 · 37 次引用
  3. Debugging and detecting numerical errors in computation with positsSangeeta Chowdhary, Jay P. Lim, Santosh NagarakattePLDI 2020 · 26 次引用

相关 Paper

  1. Correctly Rounded Math Libraries without Worrying about the Application's Rounding ModeSehyeok Park, Justin Kim, Santosh NagarakattePLDI 2025 · 1 次引用
  2. FPVM: Towards a Floating Point Virtual MachinePeter A. Dinda, Nick Wanninger, Jiacheng Ma, Alex Bernat 等HPDC 2022 · 4 次引用
  3. High-Performance Branch-Free Algorithms for Extended-Precision Floating-Point ArithmeticDavid Kai Zhang, Alex AikenSC 2025 · 3 次引用
  4. Alternative Implementations of Secure Real NumbersVassil S. Dimitrov, Liisi Kerik, Toomas Krips, Jaak Randmets 等CCS 2016 · 26 次引用
  5. NFGen: Automatic Non-linear Function Evaluation Code Generator for General-purpose MPC PlatformsXiaoyu Fan, Kun Chen, Guosai Wang, Mingchun Zhuang 等CCS 2022 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖