fastmaths 0.1.0

High-performance no_std math routines targeting glibc parity and strict f64 accuracy.
Documentation
1
2
3
4
5
6
7
8
9
//! sin(x) implementation.
//!
//! Thin wrapper around the shared trig range reducer in trig.rs. Uses kernel
//! polynomials on |x|≤pi/4 with Payne–Hanek reduction for huge arguments.

#[inline(always)]
pub fn sin(x: f64) -> f64 {
    super::trig::sin(x)
}