Comparison for less equal. \param x first operand \param y second operand \retval true if \a x less equal \a y \retval false else \exception FE_INVALID if \a x or \a y is NaN
| 2509 | /// \retval false else |
| 2510 | /// \exception FE_INVALID if \a x or \a y is NaN |
| 2511 | inline HALF_CONSTEXPR_NOERR bool operator<=(half x, half y) |
| 2512 | { |
| 2513 | return !detail::compsignal(x.data_, y.data_) && |
| 2514 | ((x.data_^(0x8000|(0x8000-(x.data_>>15))))+(x.data_>>15)) <= ((y.data_^(0x8000|(0x8000-(y.data_>>15))))+(y.data_>>15)); |
| 2515 | } |
| 2516 | |
| 2517 | /// Comparison for greater equal. |
| 2518 | /// \param x first operand |
nothing calls this directly
no test coverage detected