Function vec_round

Source
pub unsafe fn vec_round<T>(a: T) -> T
where T: VectorRound,
🔬This is a nightly-only experimental API. (stdarch_s390x #135681)
Available on s390x and target feature vector only.
Expand description

Returns a vector containing the rounded values to the nearest representable floating-point integer, using IEEE round-to-nearest rounding, of the corresponding elements of the given vector