| 204 | : sign_a || ((a | b) == 0x8000u); |
| 205 | } |
| 206 | constexpr bool Equal(Half r) const |
| 207 | { |
| 208 | // fast16 cast is not worth it, since unpack op should involved. |
| 209 | uint16_t a = bits_, b = r.bits_; |
| 210 | return a == b || ((a | b) == 0x8000u); |
| 211 | } |
| 212 | /// @} Comparison |
| 213 | |
| 214 | /// @name Properties |