MCPcopy Create free account
hub / github.com/apache/singa / isunordered

Function isunordered

include/half.hpp:4441–4441  ·  view source on GitHub ↗

Quiet check if unordered. See also:** Documentation for [std::isunordered](https://en.cppreference.com/w/cpp/numeric/math/isunordered). \param x first operand \param y second operand \retval true if unordered (one or two NaN operands) \retval false else

Source from the content-addressed store, hash-verified

4439 /// \retval true if unordered (one or two NaN operands)
4440 /// \retval false else
4441 inline HALF_CONSTEXPR bool isunordered(half x, half y) { return isnan(x) || isnan(y); }
4442
4443 /// \}
4444 /// \anchor casting

Callers

nothing calls this directly

Calls 1

isnanFunction · 0.85

Tested by

no test coverage detected