fraction(3I)

FRACTION - Returns the fractional part of the numeric model representation of the argument value

As shipped in IRIX 6.5.7. Last changed in IRIX 6.5.5.

NAME
     FRACTION - Returns the fractional part of the numeric model
     representation of the argument value

SYNOPSIS
     FRACTION ([X=]x)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90

STANDARDS
     Fortran

DESCRIPTION
     The FRACTION intrinsic function returns the fractional part of the
     numeric model representation of the argument value.  It accepts the
     following argument:

     x         Must be of type real

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

RETURN VALUES
     The result type and type parameter are that of x.  The result has the
     value x multiplied by
      -e
     b  , where b and e are as defined in the real number system model.
     For more information on the real number system model, see the
     MODELS(3I) man page.

     If x has the value zero, the result has the value zero.

EXAMPLES
     FRACTION(3.0) has the value 0.75 for reals.

SEE ALSO
     MODELS(3I)

     Intrinsic Procedures Reference Manual for the printed version of this
     man page.