Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

program-math-functions

Sterne1
Forks0
Aktualisiert11. Juli 2026 um 12:18

Methodology and metallic-rs conventions for implementing math-library functions from scratch in Rust — exp, log, sin, pow, erf, and friends. Use when adding or improving a function under src/f32_/ or src/f64_/, doing argument reduction, generating minimax/Remez polynomial or rational coefficients (rminimax/Sollya, Remez.jl), choosing a polynomial evaluation scheme, applying error-free transforms and compensated arithmetic (true FMA available), making a function correctly rounded (≤ 0.5 ulp; Table Maker's Dilemma, CORE-MATH, RLIBM), or benchmarking and optimizing a function's performance against CORE-MATH (criterion benches, Ziv fallback rates, branchless rewrites, issue #5). Covers f32 and f64.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
6 Dateien
SKILL.md
readonly