Function safe_arch::max_m128d

source ·
pub fn max_m128d(a: m128d, b: m128d) -> m128d
Available with target feature sse2 only.
Expand description

Lanewise max(a, b).

let a = m128d::from_array([5.0, 2.0]);
let b = m128d::from_array([1.0, 6.0]);
let c = max_m128d(a, b).to_array();
assert_eq!(c, [5.0, 6.0]);