Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

QFLOAT

Elemental Intrinsic Function (Generic): Converts an integer to quad precision (REAL(16)) type.

result = QFLOAT (a)

a

(Input) Must be of type integer.

Results

The result type is REAL(16) (REAL*16).

Functions that cause conversion of one data type to another type have the same affect as the implied conversion in assignment statements.

Example

QFLOAT (-4) has the value -4.0 (rounded; there are 32 places to the right of the decimal point).