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::bignum_t Struct Reference
Collaboration diagram for duckdb::bignum_t:

Public Member Functions

 bignum_t (const string_t &data)
 
 bignum_t (const bignum_t &rhs)=default
 
 bignum_t (bignum_t &&other)=default
 
bignum_toperator= (const bignum_t &rhs)=default
 
bignum_toperator= (bignum_t &&rhs)=default
 
void Print () const
 

Public Attributes

string_t data
 

Constructor & Destructor Documentation

◆ bignum_t() [1/2]

duckdb::bignum_t::bignum_t ( )
inline
46421 : data() {
46422 }

◆ bignum_t() [2/2]

duckdb::bignum_t::bignum_t ( const string_t data)
inlineexplicit
46424 : data(data) {
46425 }

Member Function Documentation

◆ Print()

void duckdb::bignum_t::Print ( ) const
46658 {
46659 auto ptr = data.GetData();
46660 auto length = data.GetSize();
46661 string result;
46662 for (idx_t i = 0; i < length; ++i) {
46663 for (int j = 7; j >= 0; --j) {
46664 result += to_string((ptr[i] >> j) & 1);
46665 }
46666 result += " ";
46667 }
46668 Printer::Print(OutputStream::STREAM_STDOUT, result);
46669}
static DUCKDB_API void Print(OutputStream stream, const string &str)
Print the object to the stream.

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