pub fn extract_f32_as_i32_bits_imm_m128<const IMM: i32>(a: m128) -> i32
Available with target feature sse4.1 only.
Expand description

Gets the f32 lane requested. Returns as an i32 bit pattern.

let a = m128::from_array([5.0, 6.0, 7.0, 8.0]);
assert_eq!(extract_f32_as_i32_bits_imm_m128::<3>(a), 8_f32.to_bits() as i32);