VEC_CTF(ARG1, ARG2)

Purpose

Converts a vector of fixed-point numbers into a vector of floating-point numbers.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) INTEGER(4) vector or UNSIGNED(4) vector.
ARG2
An INTENT(IN) integer. Its value must be specified by an initialization expression whose value is between 0 and 31 inclusive.

Result type and attributes

The result is a REAL(4) vector.

Result value

The value of each element of the result is the closest floating-point estimate of the value of the corresponding element of ARG1 divided by 2 to the power of ARG2.