This manual relates to an old release of the Library.
The documentation for the current release is also available on this site.

NAG CL Interface
X02AJC (precision)

Settings help

CL Name Style:


1 Purpose

X02AJC returns ε, the value machine precision.

2 Specification

#include <nag.h>
double  X02AJC
The function may be called by the names: x02ajc or nag_machine_precision.

3 Description

X02AJC is a constant defined in the C Header file.
X02AJC returns machine precision, computed as ε = 12 × b1-p , where b is the arithmetic base (see X02BHC) and p is the number of significant base-b digits (see X02BJC).
It is important to note that the definition of ε here differs from that in ISO Fortran 95 (1997).

4 References

ISO Fortran 95 (1997) ISO Fortran 95 programming language (ISO/IEC 1539–1:1997)

5 Arguments

None.

6 Error Indicators and Warnings

None.

7 Accuracy

Not applicable.

8 Parallelism and Performance

X02AJC is not threaded in any implementation.

9 Further Comments

None.

10 Example

None.