MCPcopy Create free account
hub / github.com/apache/arrow / CompareEq

Function CompareEq

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

Source from the content-addressed store, hash-verified

158
159 // Comparison helpers that assume neither operand is NaN
160 static constexpr bool CompareEq(Float16 lhs, Float16 rhs) {
161 return (lhs.bits() == rhs.bits()) || (lhs.is_zero() && rhs.is_zero());
162 }
163 static constexpr bool CompareLt(Float16 lhs, Float16 rhs) {
164 if (lhs.signbit()) {
165 if (rhs.signbit()) {

Callers 1

operator==Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected