W3cubDocs

/GNU Fortran 10

9.227 RANGE — Decimal exponent range

Description:

RANGE(X) returns the decimal exponent range in the model of the type of X.

Standard:

Fortran 90 and later

Class:

Inquiry function

Syntax:

RESULT = RANGE(X)

Arguments:
X Shall be of type INTEGER, REAL or COMPLEX.
Return value:

The return value is of type INTEGER and of the default integer kind.

Example:

See PRECISION for an example.

See also:

SELECTED_REAL_KIND, PRECISION

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/RANGE.html