pub fn cast_to_m128_from_m128d(a: m128d) -> m128
Available with target feature sse2 only.
Expand description

Bit-preserving cast to m128 from m128d

let a = m128d::from_array([1.0, 2.0]);
let c: [u32; 4] = cast_to_m128_from_m128d(a).to_bits();
assert_eq!(c, [0, 0x3FF00000, 0, 0x40000000]);