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

Method SignExtend

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

Source from the content-addressed store, hash-verified

151
152 template <typename T>
153 static constexpr uint64_t SignExtend(T low_bits) noexcept {
154 return low_bits >= T{} ? uint64_t{0} : ~uint64_t{0};
155 }
156
157 template <typename T>
158 static constexpr WordArray WordsFromLowBits(T low_bits) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected