Minimum value.
Class
Elemental function
Result Type and Attributes
Same as the arguments. (Some specific functions return results of a particular type.)
Result Value
The value of the result is that of the smallest argument.
Examples
MIN (-9.0, 7.0, 2.0) has the value -9.0.
If you evaluate MIN (10, 3, A), where A is an optional array argument in the calling procedure, PRESENT(A) must be true in the calling procedure.
| Specific Name | Argument Type | Result Type | Pass As Arg? |
|---|---|---|---|
| AMIN0 | any integer | default real | no |
| AMIN1 | default real | default real | no |
| DMIN1 | double precision real | double precision real | no |
| QMIN1 | REAL(16) | REAL(16) | no |
| MIN0 | any integer | same as argument | no |
| MIN1 | any real | default integer | no |