Next: INT8, Previous: INT, Up: Intrinsic Procedures [Contents][Index]
INT2
— Convert to 16-bit integer typeConvert to a KIND=2
integer type. This is equivalent to the
standard INT
intrinsic with an optional argument of
KIND=2
, and is only included for backwards compatibility.
The SHORT
intrinsic is equivalent to INT2
.
GNU extension
Elemental function
RESULT = INT2(A)
A | Shall be of type INTEGER ,
REAL , or COMPLEX . |
The return value is a INTEGER(2)
variable.