int(3I)
INT, INT2, INT4, INT8, IINT, JINT, KINT, IDINT, IIDINT, JIDINT, KIDINT, IQINT, IIQINT, JIQINT, KIQINT, IFIX, IIFIX, JIFIX, KIFIX, LONG, SHORT - Converts to type integer
As shipped in IRIX 6.5.19. Last changed in IRIX 6.5.19.
NAME INT, INT2, INT4, INT8, IINT, JINT, KINT, IDINT, IIDINT, JIDINT, KIDINT, IQINT, IIQINT, JIQINT, KIQINT, IFIX, IIFIX, JIFIX, KIFIX, LONG, SHORT - Converts to type integer SYNOPSIS INT ([A=]a [,[KIND=]kind]) INT2 ([A=]a) INT4 ([A=]a) INT8 ([A=]a) IINT ([A=]a) JINT ([A=]a) KINT ([A=]a) IDINT ([A=]a) IIDINT ([A=]a) JIDINT ([A=]a) KIDINT ([A=]a) IQINT ([A=]a) IIQINT ([A=]a) JIQINT ([A=]a) KIQINT ([A=]a) IFIX ([A=]a) IIFIX ([A=]a) JIFIX ([A=]a) KIFIX ([A=]a) LONG ([A=]a) SHORT ([A=]a) STANDARDS Fortran Fortran extensions: INT2, INT4, INT8, IQINT, IINT, JINT, KINT, IIDINT, JIDINT, KIDINT, IIQINT, JIQINT, KIQINT, IIFIX, JIFIX, KIFIX, LONG, SHORT DESCRIPTION INT is the generic function name. These functions truncate the argument specified and return type integer. These are elemental intrinsic functions. They accept the following arguments: a For INT, LONG, and SHORT, must be of type integer, real, or complex. For INT2, INT4, INT8, IINT, JINT, and KINT, must be single precision real. For IDINT, IIDINT, JIDINT, and KIDINT, must be double precision real. For IQINT, IIQINT, JIQINT, and KIQINT, must be quad precision real. For IFIX, IIFIX, JIFIX, and KIFIX, must be of type real. The terms single precision, double precision, and quad precision differ depending on your platform. For platform-specific information, see the TERMINOLOGY section of the INTRO_INTRIN(3I) man page. kind An integer scalar value. The kind type to be used for the result. If not specified, the kind type for default integer. This argument is not accepted by the MIPSpro Fortran 77 compiler. These functions convert specified types to type integer by truncating toward 0 (the fraction is lost). Type conversion routines assign the appropriate type to Boolean arguments without shifting or manipulating the bit patterns they represent. NOTES The names of these intrinsics cannot be passed as arguments. RETURN VALUES The return values are of type integer. The magnitude of the return value does not exceed the magnitude of the argument. The sign of the return value is the same as the sign of a. INT, IFIX, IDINT, and IQINT, return an integer. INT2, IIFIX, IINT, IIDINT, IIQINT, and SHORT return an integer (KIND=2). INT4, JIFIX, JINT, JIDINT, JIQINT, and LONG return an integer (KIND=4). INT8, KIFIX, KINT, KIDINT, and KIQINT returns an integer (KIND=8). SEE ALSO f90(1)