vec_ctidz

Purpose

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

Syntax

d=vec_ctidz(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 corresponding element of the result vector is then set to one of the following values:

Example

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