min(3I)
MIN, MIN0, AMIN1, DMIN1, QMIN1, MIN1, AMIN0 - Returns minimum values
As shipped in IRIX 6.5.15. Last changed in IRIX 6.5.5.
NAME MIN, MIN0, AMIN1, DMIN1, QMIN1, MIN1, AMIN0 - Returns minimum values SYNOPSIS MIN0 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... ) AMIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... ) DMIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... ) QMIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... ) MIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... ) AMIN0 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... ) IMPLEMENTATION UNICOS, UNICOS/mk, IRIX systems CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77 STANDARDS Fortran Fortran extension: QMIN1 DESCRIPTION The MIN, MIN0, AMIN1, DMIN1, QMIN1, MIN1, and AMIN0 intrinsic functions find minimum values. MIN is the generic name; the others are specifics. They accept the following arguments: a1, a2, a3, ... The arguments must be all of type real or all of type integer. All arguments must have the same data type. The kind types of the arguments can differ. This is an extension to the Fortran standard. These are elemental intrinsic functions. The names of these intrinsics cannot be passed as arguments. NOTES On UNICOS systems, both execution speed and the number of bits used in mathematical operations are affected when compiling with f90 -O fastint, which is the default setting. For more information, see CF90 Commands and Directives Reference Manual. RETURN VALUES The value of the result is that of the smallest argument. MIN accepts type real or integer and returns a result with the same type and kind type as its arguments. MIN0 accepts and returns type integer. AMIN1 accepts and returns type single-precision real. DMIN1 accepts and returns type double-precision real. QMIN1 accepts and returns type quad-precision real. MIN1 accepts type real and returns type default integer. AMIN0 accepts type integer and returns type default real. The data type and kind type for single-precision, double-precision, and quad-precision values differ depending on your platform. For platform-specific information, see the TERMINOLOGY section of the INTRO_INTRIN(3I) man page. EXAMPLES MIN(-9.0, 7.0, 2.0) has the value -9.0. SEE ALSO Intrinsic Procedures Reference Manual for the printed version of this man page.