vec_rint

Purpose

Returns a vector by rounding every single-precision or double-precision floating-point element of the given vector to a floating-point integer.

Syntax

d=vec_rint(a)

Result and argument types

The following table describes the types of the returned value and the function arguments.

d a
vector float vector float
vector double vector double


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us