spacing(3I)

SPACING - Returns the absolute spacing of real model numbers near the argument value

As shipped in IRIX 6.5.19. Last changed in IRIX 6.5.19.

NAME
     SPACING - Returns the absolute spacing of real model numbers near the
     argument value

SYNOPSIS
     SPACING ([X=]x)

STANDARDS
     Fortran

DESCRIPTION
     The SPACING intrinsic function returns the absolute spacing of real
     model numbers near the argument value.  It accepts the following
     argument:

     x         Must be of type real

     SPACING is an elemental function.  The name of this intrinsic cannot
     be passed as an argument.

RETURN VALUES
     The result type and type parameter are the same as x.

     The result has the value be-p, where b, e, and p are as defined in the
     real number model, provided this result is within range.  If not, the
     result is the same as that of TINY (x).  For more information on the
     real number model, see the MODELS(3I) man page.

EXAMPLES
     The following values occur on IRIX systems:

     * SPACING(3.0) yields 2.384185791E-7.

     * SPACING(3.0_4) yields 2.384185791E-7.

     * SPACING(3.0_8) yields 4.44089209850062616E-16.

     * SPACING(3.0_16) yields 2.46519032881566189191165176650870697E-32.

     The first is default type real, and the others are defined.

SEE ALSO
     MODELS(3I)