| 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) { |
nothing calls this directly
no test coverage detected