epsilon

Date:

10-12-2011

NAME

EPSILON - Returns r-1, where r is the smallest number greater than 1 in the numeric model

SYNOPSIS

EPSILON ([X=]x)

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

Fortran

DESCRIPTION

The EPSILON intrinsic function returns a positive model number that is almost negligible compared to unity in the model representing numbers of the same type and kind type parameter as the argument. It accepts the following argument:

x

Must be of type real. It can be scalar or array valued.

EPSILON is an inquiry function. The name of this intrinsic cannot be passed as an argument.

RETURN VALUES

The result type is a scalar of the same type and kind type parameter as x. The result has the value b(1-p) where b and p are as defined in the model for real numbers representing numbers of the same type and kind type parameter as x. For information on the real number model, see the models(3i) man page.

SEE ALSO

models(3i)