MCPcopy Create free account
hub / github.com/apache/arrow / is_zero

Function is_zero

cpp/src/arrow/util/float16.h:86–86  ·  view source on GitHub ↗

\brief Return true if the value is positive/negative zero

Source from the content-addressed store, hash-verified

84 constexpr bool is_finite() const { return (bits_ & 0x7c00) != 0x7c00; }
85 /// \brief Return true if the value is positive/negative zero
86 constexpr bool is_zero() const { return (bits_ & 0x7fff) == 0; }
87
88 /// \brief Convert to a 32-bit float
89 float ToFloat() const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected