vec_roundc

Purpose

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

This function uses the current rounding mode. It requires the POWER7 architecture.

Syntax

d=vec_roundc(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