NAG Library Manual, Mark 30
Interfaces:
FL
CL
CPP
AD
PY
MB
NAG CL Interface Introduction
X07 (Ieee) Chapter Contents
X07 (Ieee) Chapter Introduction
x07ab:
FL
CL
CPP
AD
PY
MB
NAG CL Interface
x07abc (is_nan)
Keyword Search:
NAG Library Manual, Mark 30
Interfaces:
FL
CL
CPP
AD
PY
MB
NAG CL Interface Introduction
X07 (Ieee) Chapter Contents
X07 (Ieee) Chapter Introduction
x07ab:
FL
CL
CPP
AD
PY
MB
▸
▿
Contents
1
Purpose
2
Specification
3
Description
4
References
5
Arguments
6
Error Indicators and Warnings
7
Accuracy
8
Parallelism and Performance
9
Further Comments
10
Example
© The Numerical Algorithms Group Ltd. 2024
Settings help
CL Name Style:
Short (
a00aac
)
Long (
impl_details
)
Full (
nag_info_impl_details
)
1
Purpose
x07abc
determines whether a floating-point number is a NaN (Not A Number).
2
Specification
copy
#include <nag.h>
Nag_Boolean
x07abc
(
double
x
)
The function may be called by the names:
x07abc
,
nag_ieee_is_nan
or
nag_is_nan
.
3
Description
x07abc
returns Nag_TRUE if and only if
x
is a NaN, and returns Nag_FALSE otherwise.
4
References
IEEE (2008)
Standard for Floating-Point Arithmetic
IEEE Standard 754-2008
IEEE, New York.
5
Arguments
1:
x
–
double
Input
On entry
: the number whose status is to be determined.
6
Error Indicators and Warnings
None.
7
Accuracy
Not applicable.
8
Parallelism and Performance
Background information to multithreading can be found in the
Multithreading
documentation.
x07abc
is not threaded in any implementation.
9
Further Comments
None.
10
Example
See
x07aac
.
NAG Library Manual, Mark 30
Interfaces:
FL
CL
CPP
AD
PY
MB
NAG CL Interface Introduction
X07 (Ieee) Chapter Contents
X07 (Ieee) Chapter Introduction
x07ab:
FL
CL
CPP
AD
PY
MB
© The Numerical Algorithms Group Ltd. 2024