Check for infinity. See also:** Documentation for [std::isinf](https://en.cppreference.com/w/cpp/numeric/math/isinf). \param arg number to check \retval true for positive or negative infinity \retval false else
| 4350 | /// \retval true for positive or negative infinity |
| 4351 | /// \retval false else |
| 4352 | inline HALF_CONSTEXPR bool isinf(half arg) { return (arg.data_&0x7FFF) == 0x7C00; } |
| 4353 | |
| 4354 | /// Check for NaN. |
| 4355 | /// **See also:** Documentation for [std::isnan](https://en.cppreference.com/w/cpp/numeric/math/isnan). |