Next: MAXEXPONENT, Previous: MATMUL, Up: Intrinsic Procedures
MAX
— Maximum value of an argument listRESULT = MAX(A1, A2 [, A3 [, ...]])
A1 | The type shall be INTEGER(*) or
REAL(*) .
|
A2, A3, ... | An expression of the same type and kind
as A1. (As a GNU extension,
arguments of different kinds are
permitted.)
|
Name | Argument | Return type | Standard
|
MAX0(I) | INTEGER(4) I | INTEGER(4) | F77 and later
|
AMAX0(I) | INTEGER(4) I | REAL(MAX(X)) | F77 and later
|
MAX1(X) | REAL(*) X | INT(MAX(X)) | F77 and later
|
AMAX1(X) | REAL(4) X | REAL(4) | F77 and later
|
DMAX1(X) | REAL(8) X | REAL(8) | F77 and later
|