| 1849 | /// \retval true if \a x < \a y |
| 1850 | /// \retval false else |
| 1851 | MEGDNN_HOST MEGDNN_DEVICE static bool isless(half x, half y) { return !isnan(x) && !isnan(y) && ((signbit(x) ? (static_cast<int17>(0x8000)-x.data_) : |
| 1852 | static_cast<int17>(x.data_)) < (signbit(y) ? (static_cast<int17>(0x8000)-y.data_) : static_cast<int17>(y.data_))); } |
| 1853 | |
| 1854 | /// Comparison implementation. |
| 1855 | /// \param x first operand |