isunordered
From cppreference.com
Defined in header <math.h>
|
||
#define isunordered(x, y) /* implementation defined */ |
(since C99) | |
Determines if the floating point numbers x
and y
are unordered, that is, one or both are NaN and thus cannot be meaningfully compared with each other.
Parameters
x | - | floating point value |
y | - | floating point value |
Return value
Nonzero integral value if either x
or y
is NaN, 0 otherwise.