[][src]Function safe_arch::convert_to_m128_from_m128d

#[must_use]pub fn convert_to_m128_from_m128d(a: m128d) -> m128
This is supported with target feature sse2 only.

Rounds the two f64 lanes to the low two f32 lanes.

let a = m128d::from_array([1.0, 2.5]);
let b = convert_to_m128_from_m128d(a);
assert_eq!(b.to_bits(), [1_f32.to_bits(), 2.5_f32.to_bits(), 0, 0]);