Skip to main content
Run any Skill in Manus
with one click

program-math-functions

Stars36
Forks2
UpdatedMay 31, 2026 at 10:57

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.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly