Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::CountZeros< uhugeint_t > Struct Reference

Static Public Member Functions

static idx_t Leading (uhugeint_t value)
 
static idx_t Trailing (uhugeint_t value)
 

Member Function Documentation

◆ Leading()

static idx_t duckdb::CountZeros< uhugeint_t >::Leading ( uhugeint_t  value)
inlinestatic
48174 {
48175 const uint64_t upper = static_cast<uint64_t>(value.upper);
48176 const uint64_t lower = value.lower;
48177
48178 if (upper) {
48179 return CountZeros<uint64_t>::Leading(upper);
48180 } else if (lower) {
48181 return 64 + CountZeros<uint64_t>::Leading(lower);
48182 } else {
48183 return 128;
48184 }
48185 }
::uint64_t uint64_t

◆ Trailing()

static idx_t duckdb::CountZeros< uhugeint_t >::Trailing ( uhugeint_t  value)
inlinestatic
48187 {
48188 const uint64_t upper = static_cast<uint64_t>(value.upper);
48189 const uint64_t lower = value.lower;
48190
48191 if (lower) {
48192 return CountZeros<uint64_t>::Trailing(lower);
48193 } else if (upper) {
48194 return 64 + CountZeros<uint64_t>::Trailing(upper);
48195 } else {
48196 return 128;
48197 }
48198 }

The documentation for this struct was generated from the following file: