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

Function operator==

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

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

Source from the content-addressed store, hash-verified

2463 /// \retval false else
2464 /// \exception FE_INVALID if \a x or \a y is NaN
2465 inline HALF_CONSTEXPR_NOERR bool operator==(half x, half y)
2466 {
2467 return !detail::compsignal(x.data_, y.data_) && (x.data_==y.data_ || !((x.data_|y.data_)&0x7FFF));
2468 }
2469
2470 /// Comparison for inequality.
2471 /// \param x first operand

Callers

nothing calls this directly

Calls 1

compsignalFunction · 0.85

Tested by

no test coverage detected