9.172. LONG

9.172 LONG — Convert to integer type

Description:
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.
Standard:
GNU extension
Class:
Elemental function
Syntax:
RESULT = LONG(A)
Arguments:
A Shall be of type INTEGER, REAL, or COMPLEX.
Return value:
The return value is a INTEGER(4) variable.
See also:
INT, INT2, INT8

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gfortran/LONG.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部