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::DecimalSubtractOverflowCheck 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::DecimalSubtractOverflowCheck::Operation ( TA  left,
TB  right 
)
inlinestatic
54135 {
54136 TR result;
54137 if (!TryDecimalSubtract::Operation<TA, TB, TR>(left, right, result)) {
54138 throw OutOfRangeException("Overflow in subtract of DECIMAL(18) (%d - %d). You might want to add an "
54139 "explicit cast to a bigger decimal.",
54140 left, right);
54141 }
54142 return result;
54143 }

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