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

Public Member Functions

 VariantDecimalData (uint32_t width, uint32_t scale, const_data_ptr_t value_ptr)
PhysicalType GetPhysicalType () const

Public Attributes

uint32_t width
uint32_t scale
const_data_ptr_t value_ptr = nullptr

Constructor & Destructor Documentation

◆ VariantDecimalData()

duckdb::VariantDecimalData::VariantDecimalData ( uint32_t width,
uint32_t scale,
const_data_ptr_t value_ptr )
inline
16021 : width(width), scale(scale), value_ptr(value_ptr) {
16022 }

Member Function Documentation

◆ GetPhysicalType()

PhysicalType duckdb::VariantDecimalData::GetPhysicalType ( ) const
238454 {
238455 if (width > DecimalWidth<int64_t>::max) {
238456 return PhysicalType::INT128;
238457 } else if (width > DecimalWidth<int32_t>::max) {
238458 return PhysicalType::INT64;
238459 } else if (width > DecimalWidth<int16_t>::max) {
238460 return PhysicalType::INT32;
238461 } else {
238462 return PhysicalType::INT16;
238463 }
238464}
@ INT64
Signed 64-bit little-endian integer.
Definition duckdb.hpp:2767
@ INT16
Signed 16-bit little-endian integer.
Definition duckdb.hpp:2755
@ INT32
Signed 32-bit little-endian integer.
Definition duckdb.hpp:2761

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