[−][src]Function safe_arch::sqrt_m128d_s
#[must_use]pub fn sqrt_m128d_s(a: m128d, b: m128d) -> m128d
This is supported with target feature
sse2
only.Low lane sqrt(b)
, upper lane is unchanged from a
.
let a = m128d::from_array([1.0, 2.0]); let b = m128d::from_array([25.0, 4.0]); let c = sqrt_m128d_s(a, b); assert_eq!(c.to_array(), [5.0, 2.0]);