RANGE (The GNU Fortran Compiler)

### 8.236 `RANGE` — Decimal exponent range ¶

Synopsis:

  `RESULT = RANGE(X)`

Description:

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

Class:

  Inquiry function

Arguments:

  X | Shall be of type `INTEGER`, `REAL`, `COMPLEX` or `UNSIGNED`.

Return value:

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

Example:

  See `PRECISION` for an example.

Standard:

  Fortran 90 and later, extension for `UNSIGNED` (see Unsigned integers)

See also:

  `SELECTED_REAL_KIND` — Choose real kind,
  `PRECISION` — Decimal precision of a real kind