NAG CL Interfacex07bbc (create_​nan)

Settings help

CL Name Style:

1Purpose

x07bbc creates a NaN (Not A Number).

2Specification

 #include
 void x07bbc (Integer quiet, double *x)
The function may be called by the names: x07bbc, nag_ieee_create_nan or nag_create_nan.

3Description

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

4References

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

5Arguments

1: $\mathbf{quiet}$Integer Input
On entry: determines whether a quiet or a signalling NaN is to be created. If ${\mathbf{quiet}}=1$, the returned NaN is quiet, otherwise it is signalling. See reference IEEE (2008) for the distinction between the two kinds.
2: $\mathbf{x}$double * Output
On exit: the required NaN value.

None.

Not applicable.

8Parallelism and Performance

x07bbc is not threaded in any implementation.