devela::_dep::safe_arch

Function sqrt_m128_s

pub fn sqrt_m128_s(a: m128) -> m128
Available on crate feature dep_safe_arch only.
Expand description

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]);