pub trait SimdFnF32 {
    fn call<S: SimdF32>(&mut self, x: S) -> S;
}
Expand description

A trait representing f32 -> f32 function that can be computed using simd.

Required Methods

Compute one simd chunk of the function.

Note: always annotate the implementation with #[inline]. If not, performance will suffer, and it triggers compiler bugs.

Implementors