sleef 0.3.3

Math functions for SIMD vectors
Documentation
1
2
3
4
5
6
7
8
9
#![feature(portable_simd)]

use core::simd::f64x2;

fn main() {
    let input = f64x2::from_array([1.43, 0.57]);
    let output = sleef::f64x::sin_u10(input);
    println!("sin(α) = {:?}", output);
}