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::ToCDecimalCastWrapper< int16_t > Struct Reference

Static Public Member Functions

template<class SOURCE_TYPE>
static bool Operation (SOURCE_TYPE input, duckdb_decimal &result, CastParameters &parameters, uint8_t width, uint8_t scale)

Detailed Description

FIXME: reduce duplication here by just matching on the signed-ness of the type INTERNAL_TYPE = int16_t

Member Function Documentation

◆ Operation()

template<class SOURCE_TYPE>
bool duckdb::ToCDecimalCastWrapper< int16_t >::Operation ( SOURCE_TYPE input,
duckdb_decimal & result,
CastParameters & parameters,
uint8_t width,
uint8_t scale )
inlinestatic
268186 {
268188
268191 return false;
268192 }
268193 hugeint_t hugeint_result = Hugeint::Convert(intermediate_result);
268194
268195 result.scale = scale;
268196 result.width = width;
268197
268199 hugeint_value.upper = hugeint_result.upper;
268200 hugeint_value.lower = hugeint_result.lower;
268201 result.value = hugeint_value;
268202 return true;
268203 }
Definition duckdb.cpp:268148

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