Open
Description
Are you interested in non-musl implementations, especially f32
functions faster on modern architectures? I am writing math functions in Rust from scratch, based on my own research since 2017:
https://github.com/jdh8/metallic-rs
My functions are tested to be faithfully rounded (error < 1 ulp). Unlike most C libraries, I assume that f64
instructions are available even for f32
functions and also try to use FMA if possible. I also keep LUTs to a minimum with WebAssembly in mind.
Benchmarks show that my implementations are faster than musl (libm) and glibc (std on Linux) except for libm::logf
https://github.com/jdh8/metallic-rs/actions/runs/10342894582/job/28626374065
Metadata
Metadata
Assignees
Labels
No labels