Function vec_round
#[target_feature(enable = "altivec")]
pub unsafe fn vec_round<T>(a: T) -> T
where
T: VectorRound,
Vector Round
Purpose
Returns a vector containing the rounded values of the corresponding elements of the source vector.
Result value
Each element of r contains the value of the corresponding element of a, rounded to the nearest representable floating-point integer, using IEEE round-to-nearest rounding. The current floating-point rounding mode is ignored.