[−][src]Function safe_arch::cmp_ordinary_mask_m128
#[must_use]pub fn cmp_ordinary_mask_m128(a: m128, b: m128) -> m128
This is supported with target feature
sse
only.Lanewise (!a.is_nan()) & (!b.is_nan())
.
Mask output.
let a = m128::from_array([0.0, f32::NAN, 0.0, f32::NAN]); let b = m128::from_array([0.0, 0.0, f32::NAN, f32::NAN]); let c = cmp_ordinary_mask_m128(a, b).to_bits(); assert_eq!(c, [u32::MAX, 0, 0, 0]);