9.149 INT2 — Convert to 16-bit integer type
- Description:
-
Convert to a
KIND=2
integer type. This is equivalent to the standardINT
intrinsic with an optional argument ofKIND=2
, and is only included for backwards compatibility.The
SHORT
intrinsic is equivalent toINT2
. - Standard:
-
GNU extension
- Class:
-
Elemental function
- Syntax:
-
RESULT = INT2(A)
- Arguments:
-
A Shall be of type INTEGER
,REAL
, orCOMPLEX
. - Return value:
-
The return value is a
INTEGER(2)
variable. - See also:
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gfortran/INT2.html