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

Function operator<=

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

Source from the content-addressed store, hash-verified

140 friend constexpr bool operator>(Float16 lhs, Float16 rhs) { return rhs < lhs; }
141
142 friend constexpr bool operator<=(Float16 lhs, Float16 rhs) {
143 if (lhs.is_nan() || rhs.is_nan()) return false;
144 return !Float16::CompareLt(rhs, lhs);
145 }
146 friend constexpr bool operator>=(Float16 lhs, Float16 rhs) { return rhs <= lhs; }
147
148 ARROW_FRIEND_EXPORT friend std::ostream& operator<<(std::ostream& os, Float16 arg);

Callers

nothing calls this directly

Calls 1

CompareLtFunction · 0.85

Tested by

no test coverage detected