CS Paper Radar

Daily listing

2026-11-23 · cs.MS

4 papers first submitted this day (UTC) in cs.MS — Mathematical Software. arXiv announces a day's submissions the next evening, so the newest day fills up over ~24 h.

Score = weighted mean ofCitations 20%Upvotes 10%Code stars 10%Venue 15%Code/data 10%Novelty 15%Momentum 15%Substance 5%how it works

Software & Programming 3

Accurate Products, Inaccurate Inverse: Emulated FP64 BLAS in Blocked Triangular Inversion

cs.MS cs.DCmath.NA ·2026-11-23 ·Erzheng Zhang
Abstract · Submitted to ISC High Performance 2027. 16 pages, 4 figures, 12 tables. Review artifact (code and run records) linked in the paper

FP64 emulation on integer tensor units now ships in cuBLAS and GEMMul8, and each emulated matrix product can be checked against an accuracy grade. We ask if a routine built from such products inherits their accuracy, and show that blocked triangular inversion, the core of LAPACK's inverse of a symmetric positive definite matrix, does not. Under fixed-precision emulation every product passes the grade-B error bound of Demmel et al., yet the inverse errs at 7.1e-2, against 2.0e-15 natively. The matrices are well conditioned after diagonal scaling, but the scaling spans 64 binades. The cause is one product, T = X22 L21, whose summed index carries both the diagonal scaling and its inverse, which a grade-B bound does not absorb. Computing those products natively restores native accuracy; leaving any one of them emulated does not. The pattern holds on four GPUs, and on real covariance matrices the fixed-precision routes lose up to about four orders of accuracy. Equilibration, a solve-based association and cuBLAS's automatic dynamic precision avoid the loss, and an exact error recurrence audits a completed run. On an RTX 4090 the fastest accurate emulated inversion takes 0.40 of cuSOLVER's time. Where each product's scaling falls decides if per-product accuracy carries over to a composite routine, and that is what builders of emulated libraries need to check.

0.30

Computing $ab+cd$ and other expressions with correct rounding in binary floating-point arithmetic

cs.MS ·2026-11-23 ·Stef Graillat, Jean-Michel Muller, Takeshi Ogita
Abstract

We introduce two ``high-level'' algorithms that make it possible to evaluate the sum $(x\_h+x\_\ell) + (y\_h+y\_\ell)$ of two double-word numbers with correct rounding in binary floating-point arithmetic. These algorithms allow one to evaluate expressions of the form $ab+cd$, $a+b+cd$, $a+b+c+d$, and $abc$ with correct rounding, where $a$, $b$, $c$, and $d$ are floating-point numbers.

0.28

Ziv: A Language for Correctly Rounded Math Libraries

cs.PL cs.MS ·2026-11-23 ·Lucas Yunkyu Lee, Sungjin Hwang, Wonyeol Lee
Abstract · 44 pages, 23 figures, 3 tables, including appendices

Developing performant, correctly rounded math libraries is challenging. Such implementations often rely on extended-precision arithmetic for correct rounding and precomputed constants for performance. Existing implementation languages, however, provide limited support for (i) high-level abstractions for such arithmetic and (ii) staged computation to combine precomputation and runtime computation in one program. As a result, existing implementations often miss abstraction opportunities and hard-code constants precomputed using separate programs. These practices make it difficult to write, understand, and modify these libraries. We present Ziv, a programming system for developing correctly rounded math libraries. It consists of a small language, a rich standard library, and a provably sound compiler targeting C. Ziv supports (i) high-level numerical abstractions via types and operations for extended-precision numbers, and (ii) staged computation via compile-time evaluation of expressions known to be input-independent. These features enable high-level code that unifies precomputation and runtime computation. We embed Ziv in Julia and evaluate it by reimplementing 19 functions from two state-of-the-art libraries targeting correct rounding; we achieve competitive performance with 2.63$\times$ reductions in lines of code. We also implement three new functions and automatically explore 824,256 variants, achieving 96.5$\times$ average speedup over an arbitrary-precision library.

0.24