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

Method WordsFromLowBits

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

Source from the content-addressed store, hash-verified

156
157 template <typename T>
158 static constexpr WordArray WordsFromLowBits(T low_bits) {
159 WordArray words{};
160 if (low_bits < T{}) {
161 for (auto& word : words) {
162 word = ~uint64_t{0};
163 }
164 }
165 words[kLowWordIndex] = static_cast<uint64_t>(low_bits);
166 return words;
167 }
168};
169
170template <typename DigitType>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected