Rust binding for SLEEF: SIMD Library for Evaluating Elementary Functions
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ci
sleef @ a1d9aac
src
tests
.appveyor.yml
.gitmodules
.travis.yml
Cargo.toml
LICENSE-APACHE
LICENSE-BOOST
LICENSE-MIT
build.rs
readme.md

readme.md

Rust bindings for SLEEF

Travis-CI Status Appveyor Status Latest Version docs

SLEEF: SIMD Library for Evaluating Elementary Functions

Note: Rust does not support long double (80-bit precision floating-point types) and the SLEEF APIs that use it are not included in these bindings yet (they could probably be added to just handle long double as a bag of bytes**.

Cargo features

  • dft (default: disabled - equivalent to SLEEF's BUILD_DFT option): SLEEF also includes SIMD-vectorized and parallelized subroutines for discrete Fourier transform (DFT) with an API similar to FFTW.

Platform support

This wrapper supports the following platforms, but CI is not properly set up for all of them yet.

Linux targets: build run
x86_64-unknown-linux-gnu
aarch64-unknown-linux-gnu
powerpc64le-unknown-linux-gnu
MacOSX targets: build run
x86_64-apple-darwin
Windows targets: build run
x86_64-pc-windows-msvc

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in sleef-sys by you, as defined in the Apache-2.0 license, shall be triple licensed as above, without any additional terms or conditions.