9.233 RRSPACING — Reciprocal of the relative spacing

Description:

RRSPACING(X) returns the reciprocal of the relative spacing of model numbers near X.

Standard:

Fortran 90 and later

Class:

Elemental function

Syntax:

RESULT = RRSPACING(X)

Arguments:
XShall 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 — Smallest distance between two numbers of a given type