[−][src]Function safe_arch::intel::convert_m128d_s_replace_m128_s
#[must_use]pub fn convert_m128d_s_replace_m128_s(a: m128, b: m128d) -> m128
Converts the low f64
to f32
and replaces the low lane of the input.
let a = m128::from_array([3.0, 4.0, 5.0, 6.0]); let b = m128d::from_array([1.0, 2.5]); let c = convert_m128d_s_replace_m128_s(a, b); assert_eq!(c.to_array(), [1.0, 4.0, 5.0, 6.0]);