Next: LSHIFT, Previous: LOGICAL, Up: Intrinsic Procedures [Contents][Index]
9.181 LONG
— Convert to integer type
- Description:
Convert to a
KIND=4
integer type, which is the same size as a Clong
integer. This is equivalent to the standardINT
intrinsic with an optional argument ofKIND=4
, and is only included for backwards compatibility.- Standard:
GNU extension
- Class:
Elemental function
- Syntax:
RESULT = LONG(A)
- Arguments:
A Shall be of type INTEGER
,REAL
, orCOMPLEX
.- Return value:
The return value is a
INTEGER(4)
variable.- See also: