Function std::intrinsics::simd::simd_round
source · pub unsafe extern "rust-intrinsic" fn simd_round<T>(x: T) -> T
🔬This is a nightly-only experimental API. (
core_intrinsics
)Expand description
Rounds each element to the closest integer-valued float. Ties are resolved by rounding away from 0.
T
must be a vector of floats.