Intel® Fortran Compiler 16.0 User and Reference Guide

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