c/numeric/math/isunordered

Determines if the floating point numbers and  are unordered, that is, one or both are NaN and thus cannot be meaningfully compared with each other.

Return value
Nonzero integral value if either or  is NaN,  otherwise.