True if the value is +0 or -0.
| 66 | |
| 67 | // True if the value is +0 or -0. |
| 68 | [[nodiscard]] static bool is_zero(float16_t h) noexcept { |
| 69 | return (h.bits & 0x7FFFu) == 0u; |
| 70 | } |
| 71 | |
| 72 | // True if the sign bit is set (value is negative or negative zero/NaN). |
| 73 | [[nodiscard]] static bool signbit(float16_t h) noexcept { |
no outgoing calls
no test coverage detected