library.machine Submodule¶

Module Summary¶

Interfaces for the NAG Mark 29.0 machine Chapter.

machine - Machine Constants

This module is concerned with parameters which characterise certain aspects of the computing environment in which the NAG Library is implemented. They relate primarily to floating-point arithmetic, but also to integer arithmetic, the elementary functions and exception handling. The values of the parameters vary from one implementation of the NAG Library to another, but within the context of a single implementation they are constants.

The parameters are intended for use primarily by other functions in the NAG Library, but users of the NAG Library may sometimes need to refer to them directly.

Functionality Index¶

Derived parameters of model of floating-point arithmetic

largest positive model number: real_largest()

machine precision: precision()

safe range: real_safe()

safe range of complex floating-point arithmetic: complex_safe()

smallest positive model number: real_smallest()

Largest permissible argument for SIN and COS: sinarg_max()

Largest representable integer: integer_max()

Maximum number of decimal digits that can be represented: decimal_digits()

Parameters of model of floating-point arithmetic

For full information please refer to the NAG Library document

https://www.nag.com/numeric/nl/nagdoc_29/flhtml/x02/x02intro.html