Lune

SC2025顶会

High-Performance Branch-Free Algorithms for Extended-Precision Floating-Point Arithmetic

David Kai Zhang, Alex Aiken

摘要

We present new branch-free algorithms for floating-point arithmetic at double, triple, or quadruple the native machine precision. These algorithms are the fastest known by at least an order of magnitude and are conjectured to be optimal, not only in an asymptotic sense, but in their exact FLOP count and circuit depth. Unlike previous algorithms, which either use complex branching logic or are only correct on specific classes of inputs, our algorithms have computer-verified proofs of correctness for all floating-point inputs within machine overflow and underflow thresholds. Compared to state-of-the-art multiprecision libraries, our algorithms achieve up to 11.7 × the peak performance of QD, 34.4 × over CAMPARY, 35.6 × over MPFR, and 41.4 × over FLINT.

问 Lune

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper3

  1. Quartz: superoptimization of Quantum circuitsMingkuan Xu, Zikun Li, Oded Padon, Sina Lin 等PLDI 2022 · 57 次引用
  2. CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic PrimitivesJoel Kuepper, Andres Erbsen, Jason Gross, Owen Conoly 等PLDI 2023 · 12 次引用
  3. Automatic Verification of Floating-Point Accumulation NetworksDavid Kai Zhang, Alex AikenCAV 2025 · 2 次引用

相关 Paper

  1. High performance correctly rounded math libraries for 32-bit floating point representationsJay P. Lim, Santosh NagarakattePLDI 2021 · 19 次引用
  2. One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modesJay P. Lim, Santosh NagarakattePOPL 2022 · 15 次引用
  3. Virtualization So Light, it Floats! Accelerating Floating Point VirtualizationNick Wanninger, Nadharm Dhiantravan, Peter A. DindaHPDC 2025 · 2 次引用
  4. Floating-Point TVPI Abstract DomainJoao Rivera, Franz Franchetti, Markus PüschelPLDI 2024 · 1 次引用
  5. Efficient SNARK for Floating-Point ComputationWenjie Qu, Zihao Zhang, Jiaheng ZhangCCS 2026
黄昏的海面,两侧是细线勾勒的悬崖