devela::_dep::safe_arch

Function get_i64_from_m128_s

pub fn get_i64_from_m128_s(a: m128) -> i64 
Available on crate feature dep_safe_arch only.
Expand description

Converts the low lane to i64 and extracts as an individual value.

let a = m128::from_array([1.0, 2.0, 3.0, 4.0]);
assert_eq!(1_i64, get_i64_from_m128_s(a));