vec_ctiwz

Purpose

Converts a quad vector to 32-bit signed integer values with rounding toward zero.

Syntax

d=vec_ctiwz(a)

Result and argument types

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

d a
vector4double vector4double

Result value

Each element of a is rounded towards zero to floating-point integral value. The four low-order bytes of the corresponding element of the result vector then contain one of the following values:

Example

a =  (1.6, -1.9,      9.0e11,     -5.0e12)
d: (  1,   -1, 0x7FFF FFFF, 0x8000 0000)