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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

LONG

Portability Function: Converts an INTEGER(2) argument to INTEGER(4) type.

Module

USE IFPORT

result = LONG (int2)

int2

(Input) INTEGER(2). Value to be converted.

Results

The result type is INTEGER(4). The result is the value of int2 with type INTEGER(4). The upper 16 bits of the result are zeros and the lower 16 are equal to int2.

See Also