naginterfaces.library.machine.precision¶
- naginterfaces.library.machine.precision()[source]¶
precision
returns , the value machine precision.For full information please refer to the NAG Library document for x02aj
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/x02/x02ajf.html
- Returns
- epsfloat
, the value machine precision.
- Notes
precision
returns machine precision, computed as , where is the arithmetic base (seemodel_base()
) and is the number of significant base- digits (seemodel_digits()
).It is important to note that the definition of here differs from that in ISO Fortran 95 (1997).
- References
ISO Fortran 95, 1997, ISO Fortran 95 programming language, (ISO/IEC 1539–1:1997)