Defined in header <cmath> | ||
---|---|---|
bool isunordered( float x, float y ); | (1) | (since C++11) |
bool isunordered( double x, double y ); | (2) | (since C++11) |
bool isunordered( long double x, long double y ); | (3) | (since C++11) |
bool isunordered( Arithmetic x, Arithmetic y ); | (4) | (since C++11) |
x
and y
are unordered, that is, one or both are NaN and thus cannot be meaningfully compared with each other.double
.x | - | floating point value |
y | - | floating point value |
true
if either x
or y
is NaN, false
otherwise.
(C++11) | categorizes the given floating point value (function) |
(C++11) | checks if the given number is NaN (function) |
C documentation for isunordered |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/math/isunordered