int(3I)

INT, IINT, JINT, KINT, IDINT, IIDINT, JIDINT, KIDINT, IQINT, IIQINT, JIQINT, KIQINT, IFIX, IIFIX, JIFIX, KIFIX - Converts to type integer

As shipped in IRIX 6.5.15. Added in IRIX 6.5.5.

NAME
     INT, IINT, JINT, KINT, IDINT, IIDINT, JIDINT, KIDINT, IQINT, IIQINT,
     JIQINT, KIQINT, IFIX, IIFIX, JIFIX, KIFIX - Converts to type integer

SYNOPSIS
     INT ([A=]a [,[KIND=]kind])
     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)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77

STANDARDS
     Fortran

     Fortran extensions:  IQINT, IINT, JINT, KINT, IIDINT, JIDINT, KIDINT,
     IIQINT, JIQINT, KIQINT, IIFIX, JIFIX, KIFIX

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, must be of type integer, real, or complex.  For
               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 data type and kind type for single-precision,
               double-precision, and quad-precision values 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.

     IIFIX, IINT, IIDINT, and IIQINT return an integer (KIND=2).

     JIFIX, JINT, JIDINT, and JIQINT return an integer (KIND=4).

     KIFIX, KINT, KIDINT, and KIQINT returns an integer (KIND=8).

     On IRIX systems, the -i option on the f90(1) command line can affect
     the integer return values.

SEE ALSO
     f90(1)

     Intrinsic Procedures Reference Manual for the printed version of this
     man page.