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

Function high_bits

cpp/src/arrow/util/basic_decimal.h:638–644  ·  view source on GitHub ↗

\brief Get the high bits of the two's complement representation of the number.

Source from the content-addressed store, hash-verified

636
637 /// \brief Get the high bits of the two's complement representation of the number.
638 constexpr int64_t high_bits() const {
639#if ARROW_LITTLE_ENDIAN
640 return static_cast<int64_t>(array_[1]);
641#else
642 return static_cast<int64_t>(array_[0]);
643#endif
644 }
645
646 /// \brief Get the low bits of the two's complement representation of the number.
647 constexpr uint64_t low_bits() const {

Callers 4

basic_decimal.ccFile · 0.85
ToIntegerStringMethod · 0.85
decimal.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected