Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

max(3F)

MIN(3F)                              SysV                              MIN(3F)



NAME
     min, min0, amin0, min1, amin1, dmin1 - FORTRAN minimum-value functions

SYNOPSIS
     integer i, j, k, l
     real a, b, c, d
     double precision dp1, dp2, dp3

     l = min(i, j, k)
     c = min(a, b)
     dp = min(a, b, c)
     k = min0(i, j)
     a = amin0(i, j, k)
     i = min1(a, b)
     d = amin1(a, b, c)
     dp3 = dmin1(dp1, dp2)

DESCRIPTION
     The minimum-value functions return the minimum of their arguments (of
     which there may be any number).  min is the generic form which can be
     used for all data types and takes its return type from that of its
     arguments (which must all be of the same type).  min0 returns the integer
     form of the minimum value of its integer arguments; amin0, the real form
     of its integer arguments; min1, the integer form of its real arguments;
     amin1, the real form of its real arguments; and dmin1, the double-
     precision form of its double-precision arguments.

SEE ALSO
     max(3F).

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026