Methodology and Metallic conventions for implementing C math-library (libm) functions from scratch — exp, log, sin, pow, erf, and friends. Use when adding or improving a function under src/math/, doing argument reduction, generating minimax/Remez polynomial or rational coefficients (rminimax/Sollya, Remez.jl), choosing a polynomial evaluation scheme, applying exact-arithmetic and error compensation, or making a function correctly rounded (≤ 0.5 ulp; Table Maker's Dilemma, CORE-MATH, RLIBM, porting from metallic-rs). Covers float and double.
2026-05-31