MIN(3F) MIN(3F)
min, min0, imin0, jmin0, amin0, min1, amin1, dmin1, qmin1, imin1, jmin1,
aimin0, ajmin0 - FORTRAN minimum-value functions
integer i, j, k, l
integer*2 ii1, ii2, ii3, ii4
integer*4 ji1, ji2, ji3, ji4
real a, b, c, d
real*4 r1, r2, r3, r4
double precision dp1, dp2, dp3
real*16 qp1, qp2, qp3
k = min0(i, j)
l = min(i, j, k)
ii4 = imin0(ii1, ii2, ii3)
ii4 = min(ii1, ii2, ii3)
ii3 = min0(ii1, ii2)
ji4 = jmin0(ji1, ji2, ji3)
ji3 = min(ji1, ji2)
ji4 = min0(ji1, ji2, ji3)
a = amin0(i, j, k)
a = min(i, j, k)
i = min1(a, b)
i = min(a, b, c)
d = amin1(a, b, c)
c = min(a, b)
dp3 = dmin1(dp1, dp2)
dp4 = min(dp1, dp2, dp3)
qp3 = qmin1(qp1, qp2)
qp4 = min(qp1, qp2, qp3)
ii1 = imin1(r1, r2)
ii1 = min1(r1, r2, r3)
ji1 = jmin1(r1, r2)
ji1 = min1(r1, r2, r3)
r1 = aimin0(ii1, ii2, ii3)
r1 = amin0(ii1, ii2, ii3)
r1 = aimin0(ji1, ji2, ji3)
r1 = amin0(ji1, ji2, ji3)
Page 1
MIN(3F) MIN(3F)
The minimum-value functions return the minimum of their arguments. There
may be any number of arguments, but they must all be of the same type.
min0 returns the integer form of the minimum value of its integer
arguments; amin0, the real form of its integer arguments; min1, the
integer form of its real arguments; amin1, the real form of its real
arguments; dmin1, the double-precision form of its double-precision
arguments; qmin1, the real*16 form of its real*16 arguments; imin1, the
integer*2 form of its real*4 arguments; jmin1, the integer*4 form of its
real*4 arguments; aimin0, the real*4 form of its integer*2 arguments; and
ajmin0, the real*4 form of its integer*4 arguments. min, min0, min1, and
amin0 are the generic forms which can be used as indicated above.
max(3F).
Page 2
MIN(3I) Last changed: 1-6-98
MIN, MIN0, AMIN1, DMIN1, AMIN0, MIN1 - Returns minimum values
MIN0 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
AMIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
DMIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
AMIN0 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
MIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The MIN intrinsic functions find minimum values. MIN is the generic
name. It accepts the following arguments:
a1, a2, a3, ...
The arguments must all have the same type, which must be integer
or real, and they must all have the same kind type parameter.
MIN, MIN0, AMIN1, DMIN1, AMIN0, and MIN1 are elemental functions. The
names of these intrinsics cannot be passed as arguments.
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, publication SR3901.
The result type and type parameter are the same as the arguments. The
value of the result is that of the smallest argument.
MIN(-9.0, 7.0, 2.0) has the value -9.0.
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
MIN(3I) Last changed: 1-6-98
MIN, MIN0, AMIN1, DMIN1, AMIN0, MIN1 - Returns minimum values
MIN0 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
AMIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
DMIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
AMIN0 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
MIN1 ([A1=]a1, [A2=]a2 [,[A3=]a3] ... )
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The MIN intrinsic functions find minimum values. MIN is the generic
name. It accepts the following arguments:
a1, a2, a3, ...
The arguments must all have the same type, which must be integer
or real, and they must all have the same kind type parameter.
MIN, MIN0, AMIN1, DMIN1, AMIN0, and MIN1 are elemental functions. The
names of these intrinsics cannot be passed as arguments.
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, publication SR3901.
The result type and type parameter are the same as the arguments. The
value of the result is that of the smallest argument.
MIN(-9.0, 7.0, 2.0) has the value -9.0.
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
[ Back ]
|