Comparison for less than. \param x first operand \param y second operand \retval true if \a x less than \a y \retval false else \exception FE_INVALID if \a x or \a y is NaN
| 2485 | /// \retval false else |
| 2486 | /// \exception FE_INVALID if \a x or \a y is NaN |
| 2487 | inline HALF_CONSTEXPR_NOERR bool operator<(half x, half y) |
| 2488 | { |
| 2489 | return !detail::compsignal(x.data_, y.data_) && |
| 2490 | ((x.data_^(0x8000|(0x8000-(x.data_>>15))))+(x.data_>>15)) < ((y.data_^(0x8000|(0x8000-(y.data_>>15))))+(y.data_>>15)); |
| 2491 | } |
| 2492 | |
| 2493 | /// Comparison for greater than. |
| 2494 | /// \param x first operand |
nothing calls this directly
no test coverage detected