vec_round: Vector Round to Nearest
d = vec_round(a)
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.
Note:
IEEE-inexact exception is suppressed.
Table 1. Vector Round to Nearest
d
a
vector double
vector double
Parent topic:
Rounding and Conversion