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

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

Contents


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

NAME    [Toc]    [Back]

     HUGE - Returns the	largest	number in the integer or real numeric model

SYNOPSIS    [Toc]    [Back]

     HUGE ([X=]x)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The HUGE intrinsic	function returns the largest number in the model
     representing numbers of the same type and kind type parameter as the
     argument x.  It accepts the following argument:

     x	  Must be of type integer or real.  It may be scalar or	array
	  valued.

     HUGE is an	inquiry	function.  The name of this intrinsic cannot be
     passed as an argument.

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	is a scalar value of the same type and kind type parameter
     as	x.
			       q
     The result	has the	value r	-1 if x	is of type integer and the value
	 -p		    e sub max
     (1-b  ) multiplied	by b	      if x is of type real, where r, q,	b,
     p,	and

     e	   (represented	as "e sub max" in the previous equation) are
       max
     as	defined	in the real number model, which	represents numbers of the
     same type and kind	type parameter as x.  For more information on the
     real number model,	see the	MODELS(3I) man page.

EXAMPLES    [Toc]    [Back]

     On	UNICOS systems,	HUGE(X)	has a value that approximates
	 -47		     8189
     (1-2   ) multiplied by 2	  for real X.

     On	CRAY T90 systems that support IEEE floating-point arithmetic,
     HUGE(X) has values	that approximate the following:
	   -24		       128
     * (1-2   )	multiplied by 2	   for real (KIND=4) X
	   -53		       1024
     * (1-2   )	multiplied by 2	    for	real (KIND=8) X
	   -113			16384
     * (1-2    ) multiplied by 2      for real (KIND=16) X

     On	UNICOS/mk systems, HUGE(X) has values that approximate the
     following:
	   -24		       128
     * (1-2   )	multiplied by 2	   for real (KIND=4) X
	   -53		       1024
     * (1-2   )	multiplied by 2	    for	real (KIND=8) X

     On	IRIX systems, HUGE(X) has values that approximate the following:
	   -24		       128
     * (1-2   )	multiplied by 2	   for real (KIND=4) X
	   -53		       1024
     * (1-2   )	multiplied by 2	    for	real (KIND=8) X
	   -107			1023
     * (1-2    ) multiplied by 2     for real (KIND=16)	X

SEE ALSO    [Toc]    [Back]

      
      
     MODELS(3I)

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

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

NAME    [Toc]    [Back]

     HUGE - Returns the	largest	number in the integer or real numeric model

SYNOPSIS    [Toc]    [Back]

     HUGE ([X=]x)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The HUGE intrinsic	function returns the largest number in the model
     representing numbers of the same type and kind type parameter as the
     argument x.  It accepts the following argument:

     x	  Must be of type integer or real.  It may be scalar or	array
	  valued.

     HUGE is an	inquiry	function.  The name of this intrinsic cannot be
     passed as an argument.

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	is a scalar value of the same type and kind type parameter
     as	x.
			       q
     The result	has the	value r	-1 if x	is of type integer and the value
	 -p		    e sub max
     (1-b  ) multiplied	by b	      if x is of type real, where r, q,	b,
     p,	and

     e	   (represented	as "e sub max" in the previous equation) are
       max
     as	defined	in the real number model, which	represents numbers of the
     same type and kind	type parameter as x.  For more information on the
     real number model,	see the	MODELS(3I) man page.

EXAMPLES    [Toc]    [Back]

     On	UNICOS systems,	HUGE(X)	has a value that approximates
	 -47		     8189
     (1-2   ) multiplied by 2	  for real X.

     On	CRAY T90 systems that support IEEE floating-point arithmetic,
     HUGE(X) has values	that approximate the following:
	   -24		       128
     * (1-2   )	multiplied by 2	   for real (KIND=4) X
	   -53		       1024
     * (1-2   )	multiplied by 2	    for	real (KIND=8) X
	   -113			16384
     * (1-2    ) multiplied by 2      for real (KIND=16) X

     On	UNICOS/mk systems, HUGE(X) has values that approximate the
     following:
	   -24		       128
     * (1-2   )	multiplied by 2	   for real (KIND=4) X
	   -53		       1024
     * (1-2   )	multiplied by 2	    for	real (KIND=8) X

     On	IRIX systems, HUGE(X) has values that approximate the following:
	   -24		       128
     * (1-2   )	multiplied by 2	   for real (KIND=4) X
	   -53		       1024
     * (1-2   )	multiplied by 2	    for	real (KIND=8) X
	   -107			1023
     * (1-2    ) multiplied by 2     for real (KIND=16)	X

SEE ALSO    [Toc]    [Back]

      
      
     MODELS(3I)

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

[ Back ]
 Similar pages
Name OS Title
minexponent IRIX Returns the minimum (most negative) exponent of a real number in the numeric model
range IRIX Returns the decimal exponent range of a number according to the real or integer model
epsilon IRIX Returns a positive number near 1 in the numeric model
exponent IRIX Returns the exponent part of the argument when represented as a numeric model number
bit_size IRIX Returns the number of bits in an integer in the bit manipulation model
precision IRIX Returns the decimal precision of a number in the real number model
radix IRIX Returns the base number from the real or integer number models
maxexponent IRIX Returns the maximum exponent in the numeric model
fraction IRIX Returns the fractional part of the numeric model representation of the argument value
rrspacing IRIX Returns the reciprocal of the relative spacing of numeric model numbers near the argument value
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service