pub const unsafe fn simd_round<T>(x: T) -> T🔬This is a nightly-only experimental API. (
core_intrinsics)This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
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.