Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 3/31/2025
Public

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

Visible to Intel only — GUID: GUID-65EDE367-F51D-45AE-944A-A4D945EBB6D6

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.