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

Function operator<

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

Source from the content-addressed store, hash-verified

134 friend constexpr bool operator!=(Float16 lhs, Float16 rhs) { return !(lhs == rhs); }
135
136 friend constexpr bool operator<(Float16 lhs, Float16 rhs) {
137 if (lhs.is_nan() || rhs.is_nan()) return false;
138 return Float16::CompareLt(lhs, rhs);
139 }
140 friend constexpr bool operator>(Float16 lhs, Float16 rhs) { return rhs < lhs; }
141
142 friend constexpr bool operator<=(Float16 lhs, Float16 rhs) {

Callers

nothing calls this directly

Calls 1

CompareLtFunction · 0.85

Tested by

no test coverage detected