Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ min(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

max(3F)

min(3F)

NAME

min, min0, amin0, min1, amin1, dmin1, jmin0, imin0, ajmin0, aimin0, jmin1, imin1 − Fortran minimum-value functions

SYNOPSIS

integer i, j, k, l
integer∗2 i2, j2, k2, l2
real a, b, c, d
double precision dp1, dp2, dp3

l = min(i, j, k)
l = min0(i, j, k)
l = jmin0(i, j, k)
i = min1(a, b)
i = jmin1(a, b)

l2 = min(i2, j2, k2)
l2 = imin0(i2, j2, k2)
l2 = min0(i2, j2, k2)
i2 = imin1(a, b)

c = min(a, b)
d = min(a, b, c)
d = amin1(a, b, c)
a = amin0(i, j, k)
a = ajmin0(i, j, k)
a = amin0(i2, j2, k2)
a = aimin0(i2, j2, k2)

dp3 = dmin1(dp1, dp2)

DESCRIPTION

The minimum-value functions return the minimum of their arguments (of which there may be any number greater than one).  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. 

The functions jmin0, jmin1, imin0, imin1, ajmin0 and aimin0 have been included to provide compatibility with other vendors and are not recommended for general use. 

SEE ALSO

max(3F). 

CX/UX Hf77 Fortran Reference Manual

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