Returns the argument with the largest (most positive) value.
FORTRAN 77 and later
result = max(a1, a2 [, a3 [, ...]])
a1- The type shall be
a3, … - An expression of the same type and kind as
The return value corresponds to the maximum value among the arguments, and has the same type and kind as the first argument.