[−][src]Function safe_arch::cast_to_m128i_from_m128
#[must_use]pub fn cast_to_m128i_from_m128(a: m128) -> m128i
This is supported with target feature
sse2
only.Bit-preserving cast to m128i
from m128
let a = m128::from_array([1.0, 2.0, 3.0, 4.0]); let c: [u32; 4] = cast_to_m128i_from_m128(a).into(); assert_eq!(c, [0x3F800000, 0x40000000, 0x40400000, 0x40800000]);