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

Static Public Member Functions

static DUCKDB_API uint8_t GetWidth (const LogicalType &type)
static DUCKDB_API uint8_t GetScale (const LogicalType &type)
static DUCKDB_API uint8_t MaxWidth ()

Member Function Documentation

◆ GetWidth()

uint8_t duckdb::DecimalType::GetWidth ( const LogicalType & type)
static
140520 {
140521 D_ASSERT(type.id() == LogicalTypeId::DECIMAL);
140522 auto info = type.AuxInfo();
140523 D_ASSERT(info);
140524 return info->Cast<DecimalTypeInfo>().width;
140525}

◆ GetScale()

uint8_t duckdb::DecimalType::GetScale ( const LogicalType & type)
static
140527 {
140528 D_ASSERT(type.id() == LogicalTypeId::DECIMAL);
140529 auto info = type.AuxInfo();
140530 D_ASSERT(info);
140531 return info->Cast<DecimalTypeInfo>().scale;
140532}

◆ MaxWidth()

uint8_t duckdb::DecimalType::MaxWidth ( )
static
140534 {
140535 return DecimalWidth<hugeint_t>::max;
140536}

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