RANGE — Decimal exponent range#
-
RANGE(X)#
RANGE(X)
returns the decimal exponent range in the model of the type ofX
.- Parameters:
X – Shall be of type
INTEGER
,REAL
orCOMPLEX
.- Returns:
The return value is of type
INTEGER
and of the default integer kind.
- Standard:
Fortran 90 and later
- Class:
Inquiry function
- Syntax:
RESULT = RANGE(X)
- Example:
See
PRECISION
for an example.- See also:
SELECTED_REAL_KIND — Choose real kind, PRECISION — Decimal precision of a real kind