HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11588
MAX(A1, A2, A3, ...)
Optional arguments
A3, ...
Description
Maximum value.
Class
Elemental function.
Arguments
The arguments must all have the same type which must be integer or real, and they must all
have the same kind type parameter.
Result type/
type parameters
Same as the arguments.
Result value
The value of the result is that of the largest argument.
Specific forms
AIMAX0,AJMAX0, AKMAX0, AMAX0, AMAX1, DMAX1, IMAX0, IMAX1, JMAX0, JMAX1, KMAX0, KMAX1,
MAX0, MAX1, QMAX1.
MAXEXPONENT(X)
Description
Returns the maximum exponent in the model representing numbers of the same type and
kind type parameter as the argument.
Class
Inquiry function.