HUGE(3I) Last changed: 1698
HUGE  Returns the largest number in the integer or real numeric model
HUGE ([X=]x)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
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.
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 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
(1b ) 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.
On UNICOS systems, HUGE(X) has a value that approximates
47 8189
(12 ) multiplied by 2 for real X.
On CRAY T90 systems that support IEEE floatingpoint arithmetic,
HUGE(X) has values that approximate the following:
24 128
* (12 ) multiplied by 2 for real (KIND=4) X
53 1024
* (12 ) multiplied by 2 for real (KIND=8) X
113 16384
* (12 ) multiplied by 2 for real (KIND=16) X
On UNICOS/mk systems, HUGE(X) has values that approximate the
following:
24 128
* (12 ) multiplied by 2 for real (KIND=4) X
53 1024
* (12 ) multiplied by 2 for real (KIND=8) X
On IRIX systems, HUGE(X) has values that approximate the following:
24 128
* (12 ) multiplied by 2 for real (KIND=4) X
53 1024
* (12 ) multiplied by 2 for real (KIND=8) X
107 1023
* (12 ) multiplied by 2 for real (KIND=16) X
MODELS(3I)
Intrinsic Procedures Reference Manual, publication SR2138, for the
printed version of this man page.
HUGE(3I) Last changed: 1698
HUGE  Returns the largest number in the integer or real numeric model
HUGE ([X=]x)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
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.
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 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
(1b ) 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.
On UNICOS systems, HUGE(X) has a value that approximates
47 8189
(12 ) multiplied by 2 for real X.
On CRAY T90 systems that support IEEE floatingpoint arithmetic,
HUGE(X) has values that approximate the following:
24 128
* (12 ) multiplied by 2 for real (KIND=4) X
53 1024
* (12 ) multiplied by 2 for real (KIND=8) X
113 16384
* (12 ) multiplied by 2 for real (KIND=16) X
On UNICOS/mk systems, HUGE(X) has values that approximate the
following:
24 128
* (12 ) multiplied by 2 for real (KIND=4) X
53 1024
* (12 ) multiplied by 2 for real (KIND=8) X
On IRIX systems, HUGE(X) has values that approximate the following:
24 128
* (12 ) multiplied by 2 for real (KIND=4) X
53 1024
* (12 ) multiplied by 2 for real (KIND=8) X
107 1023
* (12 ) multiplied by 2 for real (KIND=16) X
MODELS(3I)
Intrinsic Procedures Reference Manual, publication SR2138, for the
printed version of this man page.
[ Back ]
