min(3f) - [FORTRAN:INTRINSIC:NUMERIC] Minimum value of an argument list
result = min(a1, a2 [, a3, ...])
Returns the argument with the smallest (most negative) value.
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.
Sample program
program demo_min implicit none write(*,*)min(10.0,11.0,30.0,-100.0) end program demo_minResults:
-100.0000000
[[FORTRAN 77]] and later
[[Elemental procedure|Elemental function]]
max(3), minloc(3), minval(3)
min (3) | March 11, 2021 |