Intel® Fortran Compiler 18.0 Developer Guide and Reference

INTC

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

Module

USE IFPORT

result = INTC (i)

i

(Input) INTEGER(4). A value or expression.

Results

The result type is INTEGER(2). The result is the value of i with type INTEGER(2). Overflow is ignored.