Raise domain error and return NaN. return quiet NaN \exception FE_INVALID
| 741 | /// return quiet NaN |
| 742 | /// \exception FE_INVALID |
| 743 | inline HALF_CONSTEXPR_NOERR unsigned int invalid() |
| 744 | { |
| 745 | #if HALF_ERRHANDLING |
| 746 | raise(FE_INVALID); |
| 747 | #endif |
| 748 | return 0x7FFF; |
| 749 | } |
| 750 | |
| 751 | /// Raise pole error and return infinity. |
| 752 | /// \param sign half-precision value with sign bit only |
no test coverage detected