VMS Help  —  FORTRAN  Intrinsic Procedures, MIN
  MIN (number, number [, ...])

  Class:  Elemental function - Generic

  Returns the lowest of the values specified in the argument list.
  +------+---------+----------+------------+-------------+
  | Args | Generic | Specific |  Argument  | Result Type |
  +------+---------+----------+------------+-------------+
  |  n   |  MIN    |   --     | INTEGER*1  | INTEGER*1   |
  |      |         |   --     | INTEGER*1  | REAL*4      |
  |      |         | IMIN0    | INTEGER*2  | INTEGER*2   |
  |      |         | AIMIN0   | INTEGER*2  | REAL*4      |
  |      |see note1| MIN0     | INTEGER*4  | INTEGER*4   |
  |      |see note2| AMIN0    | INTEGER*4  | REAL*4      |
  |      |         | KMIN0    | INTEGER*8  | INTEGER*8   |
  |      |         | AKMIN0   | INTEGER*8  | REAL*4      |
  |      |         | IMIN1    | REAL*4     | INTEGER*2   |
  |      |see note3| MIN1     | REAL*4     | INTEGER*4   |
  |      |         | KMIN1    | REAL*4     | INTEGER*8   |
  |      |         | AMIN1    | REAL*4     | REAL*4      |
  |      |         | DMIN1    | REAL*8     | REAL*8      |
  |      |         | QMIN1    | REAL*16    | REAL*16     |
  +------+---------+----------+------------+-------------+

  Note1: Or JMIN0.
  Note2: Or AJMIN0.  AMIN0 is the same as REAL(MIN). For
         compatibility with older versions of Fortran, AMIN0
         can also be specified as a generic function.
  Note3: Or JMIN1.  MIN1 is the same as INT(MIN). For
         compatibility with older versions of Fortran, MIN1
         can also be specified as a generic function.

  These functions cannot be passed as actual arguments.

  The setting of compiler options specifying integer size can affect
  MIN1.

  The setting of compiler options specifying real size can affect
  AMIN1.
Close Help