vec_ctiwu

Purpose

Converts a quad vector to 32-bit unsigned integer values.

Syntax

d=vec_ctiwu(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 to floating-point integral value according to FPSCRRN. The four low-order bytes of the corresponding element of the result vector then contain one of the following values:

Example

FPSCRRN = DFP_ROUND_TOWARD_POSITIVE_INFINITY
a =  (1.4, 1.9,      9.0e11, -5.0e12)
d: (  2,   2, 0xFFFF FFFF,       0)

Related functions