Lune

PLDI2022顶会

Progressive polynomial approximations for fast correctly rounded math libraries

Mridul Aanjaneya, Jay P. Lim, Santosh Nagarakatte

摘要

This paper presents a novel method for generating a single polynomial approximation that produces correctly rounded results for all inputs of an elementary function for multiple representations. The generated polynomial approximation has the nice property that the first few lower degree terms produce correctly rounded results for specific representations of smaller bitwidths, which we call progressive performance. To generate such progressive polynomial approximations, we approximate the correctly rounded result and formulate the computation of correctly rounded polynomial approximations as a linear program similar to our prior work on the RLIBM project. To enable the use of resulting polynomial approximations in mainstream libraries, we want to avoid piecewise polynomials with large lookup tables. We observe that the problem of computing polynomial approximations for elementary functions is a linear programming problem in low dimensions, i.e., with a small number of unknowns. We design a fast randomized algorithm for computing polynomial approximations with progressive performance. Our method produces correct and fast polynomials that require a small amount of storage. A few polynomial approximations from our prototype have already been incorporated into LLVM’s math library.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • High performance correctly rounded math libraries for 32-bit floating point representations 引用了 An approach to generate correctly rounded math libraries for new floating point variants
  • MiSo: A DSL for Robust and Efficient Solve and MInimize Problems 引用了 One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes
  • Implementation and Synthesis of Math Library Functions 引用了 One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes
  • Implementation and Synthesis of Math Library Functions 引用了 An approach to generate correctly rounded math libraries for new floating point variants
  • 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 引用了 An approach to generate correctly rounded math libraries for new floating point variants
  • Maximum Consensus Floating Point Solutions for Infeasible Low-Dimensional Linear Programs with Convex Hull as the Intermediate Representation 引用了 High performance correctly rounded math libraries for 32-bit floating point representations
  • Maximum Consensus Floating Point Solutions for Infeasible Low-Dimensional Linear Programs with Convex Hull as the Intermediate Representation 引用了 One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes
  • Maximum Consensus Floating Point Solutions for Infeasible Low-Dimensional Linear Programs with Convex Hull as the Intermediate Representation 引用了 An approach to generate correctly rounded math libraries for new floating point variants
  • Correctly Rounded Math Libraries without Worrying about the Application's Rounding Mode 引用了 High performance correctly rounded math libraries for 32-bit floating point representations
  • Correctly Rounded Math Libraries without Worrying about the Application's Rounding Mode 引用了 Implementation and Synthesis of Math Library Functions
  • Correctly Rounded Math Libraries without Worrying about the Application's Rounding Mode 引用了 One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modes
  • Correctly Rounded Math Libraries without Worrying about the Application's Rounding Mode 引用了 An approach to generate correctly rounded math libraries for new floating point variants
  • Correctly Rounded Math Libraries without Worrying about the Application's Rounding Mode 引用了 Maximum Consensus Floating Point Solutions for Infeasible Low-Dimensional Linear Programs with Convex Hull as the Intermediate Representation
  • Correctly Rounded Math Libraries without Worrying about the Application's Rounding Mode 引用了 Fast shadow execution for debugging numerical errors using error free transformations
  • 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 引用了 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 引用了 An approach to generate correctly rounded math libraries for new floating point variants
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Fast shadow execution for debugging numerical errors using error free transformationsSangeeta Chowdhary, Santosh NagarakatteOOPSLA 2022 · 13 次引用
  2. Implementation and Synthesis of Math Library FunctionsIan Briggs, Yash Lad, Pavel PanchekhaPOPL 2024 · 7 次引用
  3. MiSo: A DSL for Robust and Efficient Solve and MInimize ProblemsFederico Sichetti, Enrico Puppo, Zizhou Huang, Marco Attene 等SIGGRAPH 2025 · 1 次引用
  4. Maximum Consensus Floating Point Solutions for Infeasible Low-Dimensional Linear Programs with Convex Hull as the Intermediate RepresentationMridul Aanjaneya, Santosh NagarakattePLDI 2024 · 1 次引用
  5. Correctly Rounded Math Libraries without Worrying about the Application's Rounding ModeSehyeok Park, Justin Kim, Santosh NagarakattePLDI 2025 · 1 次引用

它引用的 Paper3

  1. An approach to generate correctly rounded math libraries for new floating point variantsJay P. Lim, Mridul Aanjaneya, John L. Gustafson, Santosh NagarakattePOPL 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 次引用

相关 Paper

  1. NFGen: Automatic Non-linear Function Evaluation Code Generator for General-purpose MPC PlatformsXiaoyu Fan, Kun Chen, Guosai Wang, Mingchun Zhuang 等CCS 2022 · 9 次引用
  2. Fast linear programming through transprecision computing on small and sparse dataTobias Grosser, Theodoros Theodoridis, Maximilian Falkenstein, Arjun Pitchanathan 等OOPSLA 2020 · 4 次引用
  3. LIBSHALOM: optimizing small and irregular-shaped matrix multiplications on ARMv8 multi-coresWeiling Yang, Jianbin Fang, Dezun Dong, Xing Su 等SC 2021 · 40 次引用
  4. FPL: fast Presburger arithmetic through transprecisionArjun Pitchanathan, Christian Ulmann, Michel Weber, Torsten Hoefler 等OOPSLA 2021 · 10 次引用
  5. SURF: A Simple, Universal, Robust, Fast Distribution Learning AlgorithmYi Hao, Ayush Jain, Alon Orlitsky, Vaishakh RavindrakumarNeurIPS 2020 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖