Function core::intrinsics::simd::simd_trunc
source · pub unsafe extern "rust-intrinsic" fn simd_trunc<T>(x: T) -> T
🔬This is a nightly-only experimental API. (
core_intrinsics
)Expand description
Returns the integer part of each element as an integer-valued float. In other words, non-integer values are truncated towards zero.
T
must be a vector of floats.