[−][src]Trait simba::simd::SimdRealField
Lanewise generalization of RealField
for SIMD reals.
Each lane of an SIMD real field should contain one real field.
This is implemented by scalar reals like f32
and f64
as well as SIMD reals like packed_simd::f32x4
.
Required methods
fn simd_copysign(self, to: Self) -> Self
Copies the sign of self
to to
.
- Returns
to.simd_abs()
ifself
is positive or positive-zero. - Returns
-to.simd_abs()
ifself
is negative or negative-zero.