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

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.