SELECTED_INT_KIND(3I) Last changed: 1-6-98
SELECTED_INT_KIND - Returns an integer kind type parameter
SELECTED_INT_KIND ([R=]r)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The SELECTED_INT_KIND intrinsic function returns the kind type
parameter of an integer data type that represents all integer values n
with
r r
-10 < n < 10 . It accepts the following argument:
r Must be scalar and of type integer
SELECTED_INT_KIND is a transformational function. The name of this
intrinsic cannot be passed as an argument.
This intrinsic function returns the integer kind type parameter
corresponding to the decimal exponent range specified by its argument.
The result is a default integer scalar. The result has a value equal
to the value of the kind type parameter of an integer data type that
represents all values in the range of values
r r
-10 < n < 10 , or if no such kind type parameter exists, the result
is -1. If more than one kind type parameter meets the criteria, the
value returned is the one with the smallest decimal exponent range,
unless there are several such values, in which case the smallest of
these kind values is returned.
The SELECTED_INT_KIND intrinsic function generates the following
results:
SELECTED_INT_KIND(4) = 2
SELECTED_INT_KIND(8) = 4
SELECTED_INT_KIND(13) = 8
SELECTED_INT_KIND(18) = 8
SELECTED_INT_KIND(19) = -1
For information on the integer number model, see the MODELS(3I) man
page.
MODELS(3I)
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
SELECTED_INT_KIND(3I) Last changed: 1-6-98
SELECTED_INT_KIND - Returns an integer kind type parameter
SELECTED_INT_KIND ([R=]r)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The SELECTED_INT_KIND intrinsic function returns the kind type
parameter of an integer data type that represents all integer values n
with
r r
-10 < n < 10 . It accepts the following argument:
r Must be scalar and of type integer
SELECTED_INT_KIND is a transformational function. The name of this
intrinsic cannot be passed as an argument.
This intrinsic function returns the integer kind type parameter
corresponding to the decimal exponent range specified by its argument.
The result is a default integer scalar. The result has a value equal
to the value of the kind type parameter of an integer data type that
represents all values in the range of values
r r
-10 < n < 10 , or if no such kind type parameter exists, the result
is -1. If more than one kind type parameter meets the criteria, the
value returned is the one with the smallest decimal exponent range,
unless there are several such values, in which case the smallest of
these kind values is returned.
The SELECTED_INT_KIND intrinsic function generates the following
results:
SELECTED_INT_KIND(4) = 2
SELECTED_INT_KIND(8) = 4
SELECTED_INT_KIND(13) = 8
SELECTED_INT_KIND(18) = 8
SELECTED_INT_KIND(19) = -1
For information on the integer number model, see the MODELS(3I) man
page.
MODELS(3I)
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
[ Back ]
|