XL Fortran for AIX 8.1

Language Reference

FCFI(I)

Floating-point Conversion from Integer

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

Parameters

I
must be of type REAL(8).

Result Type and Attributes

Same as I.

Results

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.0000000000000000 
... 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]