vec_cfidu

Purpose

Returns a vector of which each element is the floating point equivalent of the 64-bit unsigned integer in the corresponding element of a, rounded to double-precision, using the rounding mode specified by FPSCRRN.

Syntax

d=vec_cfidu(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

The value of each element of the result is the floating-point representation of the 64-bit unsigned integer in the corresponding element of a, rounded to double-precision using the rounding mode specified by FPSCRRN.

Example

FPSCRRN = DFP_ROUND_TO_NEAREST_WITH_TIES_TO_EVEN
a =  (   1,   2,   3,   4)
d: ( 1.0, 2.0, 3.0, 4.0)

Related functions