XL Fortran for AIX 8.1

Language Reference


SPACING(X)

Returns the absolute spacing of the model numbers near the argument value.

X
must be of type real.

Class

Elemental function

Result Type and Attributes

Same as X.

Result Value

If X is not 0, the result is:

2.0EXPONENT(X) - DIGITS(X)

If X is 0, the result is the same as that of TINY(X).

+-------------------------------IBM Extension--------------------------------+

Examples

SPACING (3.0) = 2.02 - 24 = 2.0(-22) See Real Data Model.

+----------------------------End of IBM Extension----------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]