nag_create_nan (x07bbc) sets x to be a quiet or a signalling NaN (Not A Number).
4 References
IEEE (2008) Standard for Floating-Point ArithmeticIEEE Standard 754-2008 IEEE, New York.
5 Arguments
1:
– IntegerInput
On entry: 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.
2:
– double *Output
On exit: the required NaN value.
6 Error Indicators and Warnings
None.
7 Accuracy
Not applicable.
8 Parallelism and Performance
nag_create_nan (x07bbc) is not threaded in any implementation.