vec_roundz
Purpose
Returns a vector containing the truncated values of the corresponding elements of the given vector.
Note: vec_roundz is another name for vec_trunc.
For details, see vec_trunc.
Syntax
d=vec_roundz(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 |
Result value
Each element of the result contains the value of the corresponding element of a, truncated to an integral value.