Determines the distance between the argument X and the nearest adjacent number of the same type.
Fortran 90 and later
Elemental function
RESULT = SPACING(X)
X | Shall be of type REAL . |
The result is of the same type as the input argument X.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/SPACING.html