High-Performance Branch-Free Algorithms for Extended-Precision Floating-Point Arithmetic
摘要
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。不用硬啃,也不靠猜。
脉络
它引用的 Paper3
- Quartz: superoptimization of Quantum circuitsMingkuan Xu, Zikun Li, Oded Padon, Sina Lin 等PLDI 2022 · 57 次引用
- CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic PrimitivesJoel Kuepper, Andres Erbsen, Jason Gross, Owen Conoly 等PLDI 2023 · 12 次引用
- Automatic Verification of Floating-Point Accumulation NetworksDavid Kai Zhang, Alex AikenCAV 2025 · 2 次引用
相关 Paper
- High performance correctly rounded math libraries for 32-bit floating point representationsJay P. Lim, Santosh NagarakattePLDI 2021 · 19 次引用
- One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modesJay P. Lim, Santosh NagarakattePOPL 2022 · 15 次引用
- Virtualization So Light, it Floats! Accelerating Floating Point VirtualizationNick Wanninger, Nadharm Dhiantravan, Peter A. DindaHPDC 2025 · 2 次引用
- Floating-Point TVPI Abstract DomainJoao Rivera, Franz Franchetti, Markus PüschelPLDI 2024 · 1 次引用
- Efficient SNARK for Floating-Point ComputationWenjie Qu, Zihao Zhang, Jiaheng ZhangCCS 2026
