[−][src]Function safe_arch::sqrt_m128_s
#[must_use]pub fn sqrt_m128_s(a: m128) -> m128
This is supported with target feature
sse
only.Low lane sqrt(a)
, other lanes unchanged.
let a = m128::from_array([4.0, 8.0, 7.0, 6.0]); let b = sqrt_m128_s(a).to_array(); assert_eq!(b, [2.0, 8.0, 7.0, 6.0]);