C binding of libm crate for x86 or x86_64 OS, using pure soft-float without SSE or AVX.
Download the header file and lib from releases.
Link the library to your project.
Build directly to get the two target files:
cargo build --releaseThe production build will be in target/<target>/release/ directory.
And use cbindgen to generate the header file:
cargo install cbindgen
cbindgen --output math.h