Function no_std_compat::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

Return 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.