FCFI(I)

Purpose

Floating-point Conversion from Integer

Converts an integer value in a floating-point variable into a floating-point value.

This intrinsic is valid on any 64-bit PowerPC architecture.

Class

Function

Argument type and attributes

I
must be of type REAL(8).

Result type and attributes

Same as I.

Result value

The double-precision floating-point value of I.

Examples

...
REAL*8 :: R8, RES
INTEGER*8 :: I8
EQUIVALENCE(R8, I8)

I8 = 89
RES = FCFI(R8) ! RES = 89.0
...