#floating-point #exponential #logarithm

sys no-std core-math-sys

Generate bindings to CORE-MATH

5 releases

0.2.0 Aug 27, 2024
0.1.4 Aug 15, 2024

#1818 in Math


Used in 2 crates (via core-math)

MIT license

2.5MB
42K SLoC

C 42K SLoC // 0.2% comments Shell 412 SLoC // 0.1% comments Rust 44 SLoC

core-math-sys

Build status Crates.io Documentation

Generated bindings to CORE-MATH

CORE-MATH is a correctly rounded mathematical library in C. Correct rounding is the theoretical accuracy and beats most old C libraries such as glibc. Meanwhile, its speed is competitive with the most popular C libraries, even faster most of the time.

This crate provides the raw bindings to the CORE-MATH library. It is recommended to use the core-math crate directly instead, which provides a safe Rusty interface.

No runtime deps