#ffi #audio #trigonometry

sys sleef-trig-sys

Bindings to a few sleef.org trigonometric functions

1 unstable release

0.1.0 Oct 1, 2022

#10 in #trigonometry

Download history 2/week @ 2024-02-15 12/week @ 2024-02-22 6/week @ 2024-02-29 8/week @ 2024-03-07 50/week @ 2024-03-14 2/week @ 2024-03-28

60 downloads per month
Used in sleef-trig

BSL-1.0 license

185KB
75 lines

sleef-trig-sys

Bindings to some SLEEF trigonometric functions:

  • Sleef_sinf1_u35purec
  • Sleef_cosf1_u35purec
  • Sleef_sind1_u35purec
  • Sleef_sind2_u35sse2
  • Sleef_sind4_u35avx

Please note that SIMD FFI is unstable and relies on undefined behaviour.

The purpose of this crate is to enable correctness testing of sleef-trig, a Rust port of some of the above functions. I recommend using it instead of this crate due to the aformentioned soundness issues.

No runtime deps