x02aj returns ε, the value machine precision.

Syntax

C#
public static double x02aj()
Visual Basic
Public Shared Function x02aj As Double
Visual C++
public:
static double x02aj()
F#
static member x02aj : unit -> float 

Return Value

x02aj returns ε, the value machine precision.

Description

x02aj returns machine precision, computed as ε=12×b1-p, where b is the arithmetic base (see x02bh) and p is the number of significant base-b digits (see (X02BJF not in this release)).
It is important to note that the definition of ε here differs from that in ISO (1997).

References

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

Error Indicators and Warnings

None.

Accuracy

None.

Parallelism and Performance

None.

Further Comments

None.

Example

This example prints the values of all the functions in X02 class. The results will vary from one implementation of the Library to another.

Example program (C#): x02aje.cs

Example program results: x02aje.r

See Also