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

Function operator==

cpp/src/arrow/util/float16.h:130–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 constexpr Float16 operator+() const { return FromBits(bits_); }
129
130 friend constexpr bool operator==(Float16 lhs, Float16 rhs) {
131 if (lhs.is_nan() || rhs.is_nan()) return false;
132 return Float16::CompareEq(lhs, rhs);
133 }
134 friend constexpr bool operator!=(Float16 lhs, Float16 rhs) { return !(lhs == rhs); }
135
136 friend constexpr bool operator<(Float16 lhs, Float16 rhs) {

Callers

nothing calls this directly

Calls 1

CompareEqFunction · 0.85

Tested by

no test coverage detected