Returns the argument with the smallest (most negative) value.
FORTRAN 77 and later
result = min(a1, a2 [, a3, ...])
a1
- The type shall be integer
or real
.a2
, a3
, … - An expression of the same type and kind as a1
.The return value corresponds to the minimum value among the arguments, and has the same type and kind as the first argument.