RRSPACING — Reciprocal of the relative spacing#
-
RRSPACING(X)#
RRSPACING(X)
returns the reciprocal of the relative spacing of model numbers nearX
.- Parameters
X – Shall be of type
REAL
.- Returns
The return value is of the same type and kind as
X
. The value returned is equal toABS(FRACTION(X)) * FLOAT(RADIX(X))**DIGITS(X)
.
- Standard:
Fortran 90 and later
- Class:
Elemental function
- Syntax:
RESULT = RRSPACING(X)
- See also:
SPACING — Smallest distance between two numbers of a given type