Function safe_arch::cmp_ordered_mask_m128d
source ยท pub fn cmp_ordered_mask_m128d(a: m128d, b: m128d) -> m128d
Available with target feature
sse2
only.Expand description
Lanewise (!a.is_nan()) & (!b.is_nan())
.
Mask output.
let a = m128d::from_array([3.0, f64::NAN]);
let b = m128d::from_array([1.0, 1.0]);
let c = cmp_ordered_mask_m128d(a, b).to_bits();
assert_eq!(c, [u64::MAX, 0]);