06.03.2014 Views

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Intrinsic Procedures 9<br />

Specific Name 1 Argument Type Result Type<br />

INT1 10<br />

INTEGER(1), INTEGER(2), INTEGER(4), INTEGER(8),<br />

REAL(4), REAL(8), REAL(16), COMPLEX(4),<br />

COMPLEX(8), COMPLEX(16)<br />

INTEGER(1)<br />

INT2 10<br />

INT4 10<br />

INT8 10<br />

INTEGER(1), INTEGER(2), INTEGER(4), INTEGER(8),<br />

REAL(4), REAL(8), REAL(16), COMPLEX(4),<br />

COMPLEX(8), COMPLEX(16)<br />

INTEGER(1), INTEGER(2), INTEGER(4), INTEGER(8),<br />

REAL(4), REAL(8), REAL(16), COMPLEX(4),<br />

COMPLEX(8), COMPLEX(16)<br />

INTEGER(1), INTEGER(2), INTEGER(4), INTEGER(8),<br />

REAL(4), REAL(8), REAL(16), COMPLEX(4),<br />

COMPLEX(8), COMPLEX(16)<br />

1. These specific functions cannot be passed as actual arguments.<br />

2. This function can also be specified as HFIX.<br />

3. The setting of compiler options specifying integer size or real size can affect IFIX.<br />

4. For compatibility with older versions of <strong>Fortran</strong>, IFIX can also be specified as a generic function.<br />

5. Or JINT.<br />

6. The setting of compiler options specifying integer size can affect INT, IDINT, and IQINT.<br />

7. OR JIFIX.<br />

8. Or JIDINT. For compatibility with older versions of <strong>Fortran</strong>, IDINT can also be specified as a generic function.<br />

9. Or JIQINT. For compatibility with older versions of <strong>Fortran</strong>, IQINT can also be specified as a generic function.<br />

10. For compatibility, these functions can be specified as generic functions.<br />

INTEGER(2)<br />

INTEGER(4)<br />

INTEGER(8)<br />

Examples<br />

INT (–4.2) has the value –4.<br />

INT (7.8) has the value 7.<br />

INT_PTR_KIND<br />

Description: Returns the INTEGER KIND that will hold an address. This is a specific<br />

function that has no generic function associated with it. It cannot be passed as<br />

an actual argument.<br />

Syntax: result = INT_PTR_KIND ( )<br />

Class: Inquiry function; Specific<br />

Arguments: None.<br />

9-81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!