Function safe_arch::get_i32_from_m128_s
source · pub fn get_i32_from_m128_s(a: m128) -> i32
Expand description
Converts the low lane to i32
and extracts as an individual value.
let a = m128::from_array([1.0, 2.0, 3.0, 4.0]);
assert_eq!(1_i32, get_i32_from_m128_s(a));