Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

min(3f)



MAX(3F)                 COMMAND REFERENCE                 MAX(3F)



NAME
     max, max0, amax0, max1, amax1, dmax1 - FORTRAN maximum-value
     functions

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

     l = max(i, j, k)
     c = max(a, b)
     dp = max(a, b, c)
     k = max0(i, j)
     a = amax0(i, j, k)
     i = max1(a, b)
     d = amax1(a, b, c)
     dp3 = dmax1(dp1, dp2)

DESCRIPTION
     The maximum-value functions return the largest of their
     arguments (of which there may be any number).  Max 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).  Max0 returns the integer form of the
     maximum value of its integer arguments.  Amax0 is the real
     form of its integer arguments.  Max1 is the integer form of
     its real arguments.  Amax1 is the real form of its real
     arguments.  And dmax1 is the double-precision form of its
     double-precision arguments.

SEE ALSO
     min(3f).























Printed 3/13/89                                                 1



%%index%%
na:240,127;
sy:367,1891;
de:2258,987;
se:3245,123;
%%index%%000000000084

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