devela::_dep::safe_arch

Function get_i32_from_m128_s

pub fn get_i32_from_m128_s(a: m128) -> i32 
Available on crate feature dep_safe_arch only.
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));