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