vec_ctid

Purpose

Converts a quad vector to 64-bit signed integer values.

Syntax

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

Example

FPSCRRN = DFP_ROUND_TOWARD_POSITIVE_INFINITY
a =  (1.4, -2.9,                9.0e20,               -5.0e25)
d: (  2,   -2, 0x7FFF FFFF FFFF FFFF, 0x8000 0000 0000 0000)

Related functions