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< hugeint_t > Struct Reference

Static Public Member Functions

static idx_t Leading (hugeint_t value)
 
static idx_t Trailing (hugeint_t value)
 

Member Function Documentation

◆ Leading()

static idx_t duckdb::CountZeros< hugeint_t >::Leading ( hugeint_t  value)
inlinestatic
48145 {
48146 const uint64_t upper = static_cast<uint64_t>(value.upper);
48147 const uint64_t lower = value.lower;
48148
48149 if (upper) {
48150 return CountZeros<uint64_t>::Leading(upper);
48151 } else if (lower) {
48152 return 64 + CountZeros<uint64_t>::Leading(lower);
48153 } else {
48154 return 128;
48155 }
48156 }
::uint64_t uint64_t

◆ Trailing()

static idx_t duckdb::CountZeros< hugeint_t >::Trailing ( hugeint_t  value)
inlinestatic
48158 {
48159 const uint64_t upper = static_cast<uint64_t>(value.upper);
48160 const uint64_t lower = value.lower;
48161
48162 if (lower) {
48163 return CountZeros<uint64_t>::Trailing(lower);
48164 } else if (upper) {
48165 return 64 + CountZeros<uint64_t>::Trailing(upper);
48166 } else {
48167 return 128;
48168 }
48169 }

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