Skip to main content

simd_round_ties_even

Function simd_round_ties_even 

Source
pub const unsafe fn simd_round_ties_even<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 to the number with an even least significant digit

T must be a vector of floats.