pub(crate) trait Lanes: Copy {
type V: Copy;
// Required methods
fn splat(self, x: f64) -> Self::V;
fn load(self, a: [f64; 4]) -> Self::V;
fn store(self, v: Self::V) -> [f64; 4];
fn add(self, a: Self::V, b: Self::V) -> Self::V;
fn sub(self, a: Self::V, b: Self::V) -> Self::V;
fn mul(self, a: Self::V, b: Self::V) -> Self::V;
fn mul_add(self, a: Self::V, b: Self::V, c: Self::V) -> Self::V;
fn neg(self, a: Self::V) -> Self::V;
fn abs(self, a: Self::V) -> Self::V;
fn all_finite(self, a: Self::V, b: Self::V) -> bool;
}Expand description
Four f64 lanes and their arithmetic (invariant L1).
Required Associated Types§
Required Methods§
Sourcefn mul_add(self, a: Self::V, b: Self::V, c: Self::V) -> Self::V
fn mul_add(self, a: Self::V, b: Self::V, c: Self::V) -> Self::V
RN(a b + c) on each lane, fused.
Sourcefn all_finite(self, a: Self::V, b: Self::V) -> bool
fn all_finite(self, a: Self::V, b: Self::V) -> bool
Every lane of a and of b is finite.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".