RRSPACING (The GNU Fortran Compiler)

### 8.240 `RRSPACING` — Reciprocal of the relative spacing ¶

Synopsis:

  `RESULT = RRSPACING(X)`

Description:

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

Class:

  Elemental function

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)`.

Standard:

  Fortran 90 and later

See also:

  `SPACING` — Smallest distance between two numbers of a given type