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

Public Member Functions

template<>
hugeint_t Operation (hugeint_t left, hugeint_t right)
 

Static Public Member Functions

template<class TA , class TB , class TR >
static TR Operation (TA left, TB right)
 

Member Function Documentation

◆ Operation()

template<class TA , class TB , class TR >
static TR duckdb::DecimalAddOverflowCheck::Operation ( TA  left,
TB  right 
)
inlinestatic
20214 {
20215 TR result;
20216 if (!TryDecimalAdd::Operation<TA, TB, TR>(left, right, result)) {
20217 throw OutOfRangeException("Overflow in addition of DECIMAL(18) (%d + %d). You might want to add an "
20218 "explicit cast to a bigger decimal.",
20219 left, right);
20220 }
20221 return result;
20222 }

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