Fortran Wiki
rrspacing

Description

rrspacing(x) returns the reciprocal of the relative spacing of model numbers near x.

Standard

Fortran 95 and later

Class

Elemental function

Syntax

result = rrspacing(x)

Arguments

  • x - Shall be of type real.

Return value

The return value is of the same type and kind as x. The value returned is equal to abs(fraction(x)) * float(radix(x))**digits(x).

See also

spacing

category: intrinsics