vec_trunc: Vector Truncate
d = vec_trunc(a)Returns
a vector containing the truncated values of the corresponding elements
of the given vector. Each element of the result contains the value
of the corresponding element of
a, truncated to an
integral value.Note:
vec_trunc provides
the same functionality as vec_roundz, except that vec_trunc could
trigger the IEEE-inexact exception.| d | a | MIN ARCH |
|---|---|---|
| vector float | vector float | ARCH(12) 2 |
| vector double | vector double | ARCH(11) 2 |
|
Note:
2. This prototype has slightly different semantics than that in the OpenPOWER ABI for Linux® Supplement for the Power Architecture® 64-bit ELF V2 ABI, Revision 1.4. In z/OS® XL C/C++, |
||