Quiet comparison for greater than. See also:** Documentation for [std::isgreater](https://en.cppreference.com/w/cpp/numeric/math/isgreater). \param x first operand \param y second operand \retval true if \a x greater than \a y \retval false else
| 4410 | /// \retval true if \a x greater than \a y |
| 4411 | /// \retval false else |
| 4412 | inline HALF_CONSTEXPR bool isgreater(half x, half y) |
| 4413 | { |
| 4414 | return ((x.data_^(0x8000|(0x8000-(x.data_>>15))))+(x.data_>>15)) > ((y.data_^(0x8000|(0x8000-(y.data_>>15))))+(y.data_>>15)) && !isnan(x) && !isnan(y); |
| 4415 | } |
| 4416 | |
| 4417 | /// Quiet comparison for greater equal. |
| 4418 | /// **See also:** Documentation for [std::isgreaterequal](https://en.cppreference.com/w/cpp/numeric/math/isgreaterequal). |