NAG CL Interface
X02AJC (precision)

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


6 Error Indicators and Warnings


7 Accuracy

Not applicable.

8 Parallelism and Performance

X02AJC is not threaded in any implementation.

9 Further Comments


10 Example