MIN

8.173 MIN — Minimum value of an argument list

Description:
Returns the argument with the smallest (most negative) value.
Standard:
Fortran 77 and later
Class:
Elemental function
Syntax:
RESULT = MIN(A1, A2 [, A3, ...])
Arguments:
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.)
Return value:
The return value corresponds to the maximum value among the arguments, and has the same type and kind as the first argument.
Specific names:
Name Argument Return type Standard
MIN0(A1) INTEGER(4) A1 INTEGER(4) Fortran 77 and later
AMIN0(A1) INTEGER(4) A1 REAL(4) Fortran 77 and later
MIN1(A1) REAL A1 INTEGER(4) Fortran 77 and later
AMIN1(A1) REAL(4) A1 REAL(4) Fortran 77 and later
DMIN1(A1) REAL(8) A1 REAL(8) Fortran 77 and later
See also:
MAX, MINLOC, MINVAL

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-4.9.3/gfortran/MIN.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部