*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> f90/min (3)              
Title
Content
Arch
Section
 

Contents


MIN(3F)								       MIN(3F)


NAME    [Toc]    [Back]

     min, min0,	imin0, jmin0, amin0, min1, amin1, dmin1, qmin1,	imin1, jmin1,
     aimin0, ajmin0 - FORTRAN minimum-value functions

SYNOPSIS    [Toc]    [Back]

     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)


DESCRIPTION    [Toc]    [Back]

     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.

SEE ALSO    [Toc]    [Back]

      
      
     max(3F).








































									Page 2



MIN(3I)						       Last changed: 1-6-98

NAME    [Toc]    [Back]

     MIN, MIN0,	AMIN1, DMIN1, AMIN0, MIN1 - Returns minimum values

SYNOPSIS    [Toc]    [Back]

     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] ... )

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     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.

NOTES    [Toc]    [Back]

     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.

RETURN VALUES    [Toc]    [Back]

     The result	type and type parameter	are the	same as	the arguments.	The
     value of the result is that of the	smallest argument.

EXAMPLES    [Toc]    [Back]

     MIN(-9.0, 7.0, 2.0) has the value -9.0.

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

MIN(3I)						       Last changed: 1-6-98

NAME    [Toc]    [Back]

     MIN, MIN0,	AMIN1, DMIN1, AMIN0, MIN1 - Returns minimum values

SYNOPSIS    [Toc]    [Back]

     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] ... )

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     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.

NOTES    [Toc]    [Back]

     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.

RETURN VALUES    [Toc]    [Back]

     The result	type and type parameter	are the	same as	the arguments.	The
     value of the result is that of the	smallest argument.

EXAMPLES    [Toc]    [Back]

     MIN(-9.0, 7.0, 2.0) has the value -9.0.

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

[ Back ]
 Similar pages
Name OS Title
max IRIX FORTRAN maximum-value functions
max IRIX FORTRAN maximum-value functions
ior IRIX FORTRAN bitwise boolean functions
mvbits IRIX FORTRAN bitwise boolean functions
not IRIX FORTRAN bitwise boolean functions
or IRIX FORTRAN bitwise boolean functions
bool IRIX FORTRAN bitwise boolean functions
mod IRIX FORTRAN remaindering intrinsic functions
round IRIX FORTRAN nearest integer functions
ishftc IRIX FORTRAN bitwise boolean functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service