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

Public Member Functions

 float_na_equal (const float val_p)
 
 operator float () const
 
bool operator== (const float &right) const
 
bool operator!= (const float &right) const
 

Public Attributes

float val
 

Constructor & Destructor Documentation

◆ float_na_equal() [1/2]

duckdb::float_na_equal::float_na_equal ( )
inline
10350 : val(0) {
10351 }

◆ float_na_equal() [2/2]

duckdb::float_na_equal::float_na_equal ( const float  val_p)
inlineexplicit
10352 : val(val_p) {
10353 }

Member Function Documentation

◆ operator float()

duckdb::float_na_equal::operator float ( ) const
inline
10355 {
10356 return val;
10357 }

◆ operator==()

bool duckdb::float_na_equal::operator== ( const float right) const
inline
10359 {
10360 if (std::isnan(val) && std::isnan(right)) {
10361 return true;
10362 }
10363 return val == right;
10364 }

◆ operator!=()

bool duckdb::float_na_equal::operator!= ( const float right) const
inline
10366 {
10367 return !(*this == right);
10368 }

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