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::double_na_equal Struct Reference

Public Member Functions

 double_na_equal (const double val_p)
 
 operator double () const
 
bool operator== (const double &right) const
 
bool operator!= (const double &right) const
 

Public Attributes

double val
 

Constructor & Destructor Documentation

◆ double_na_equal() [1/2]

duckdb::double_na_equal::double_na_equal ( )
inline
10326 : val(0) {
10327 }

◆ double_na_equal() [2/2]

duckdb::double_na_equal::double_na_equal ( const double  val_p)
inlineexplicit
10328 : val(val_p) {
10329 }

Member Function Documentation

◆ operator double()

duckdb::double_na_equal::operator double ( ) const
inline
10331 {
10332 return val;
10333 }

◆ operator==()

bool duckdb::double_na_equal::operator== ( const double right) const
inline
10335 {
10336 if (std::isnan(val) && std::isnan(right)) {
10337 return true;
10338 }
10339 return val == right;
10340 }

◆ operator!=()

bool duckdb::double_na_equal::operator!= ( const double right) const
inline
10342 {
10343 return !(*this == right);
10344 }

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