LONG
— Convert to integer type ¶Convert to a KIND=4
integer type, which is the same size as a C
long
integer. This is equivalent to the standard INT
intrinsic with an optional argument of KIND=4
, and is only
included for backwards compatibility.
GNU extension
Elemental function
RESULT = LONG(A)
A | Shall be of type INTEGER ,
REAL , or COMPLEX . |
The return value is a INTEGER(4)
variable.
INT
— Convert to integer type,
INT2
— Convert to 16-bit integer type,
INT8
— Convert to 64-bit integer type