naginterfaces.library.ieee.create_​nan

naginterfaces.library.ieee.create_nan(quiet)[source]

create_nan creates a NaN (Not A Number).

For full information please refer to the NAG Library document for x07bb

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/x07/x07bbf.html

Parameters
quietint

Determines whether a quiet or a signalling NaN is to be created. If , the returned NaN is quiet, otherwise it is signalling. See reference IEEE (2008) for the distinction between the two kinds.

Returns
xfloat

The required NaN value.

Notes

create_nan sets to be a quiet or a signalling NaN (Not A Number).

References

IEEE, 2008, Standard for Floating-Point Arithmetic (IEEE Standard 754-2008), IEEE, New York.