Fortran Wiki
range

Description

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

Standard

Fortran 95 and later

Class

Inquiry function

Syntax

result = range(x)

Arguments

  • x - Shall be of type 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

category: intrinsics