MCPcopy Create free account
hub / github.com/apache/singa / operator!=

Function operator!=

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

Comparison for inequality. \param x first operand \param y second operand \retval true if operands not equal \retval false else \exception FE_INVALID if \a x or \a y is NaN

Source from the content-addressed store, hash-verified

2474 /// \retval false else
2475 /// \exception FE_INVALID if \a x or \a y is NaN
2476 inline HALF_CONSTEXPR_NOERR bool operator!=(half x, half y)
2477 {
2478 return detail::compsignal(x.data_, y.data_) || (x.data_!=y.data_ && ((x.data_|y.data_)&0x7FFF));
2479 }
2480
2481 /// Comparison for less than.
2482 /// \param x first operand

Callers

nothing calls this directly

Calls 1

compsignalFunction · 0.85

Tested by

no test coverage detected