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 a 64-bit PowerPC architecture using 64-bit mode.

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
... 
IBM Copyright 2003