![]() |
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.
|
The Hugeint class contains static operations for the INT128 type. More...
#include <duckdb.hpp>

Public Member Functions | |
| template<> | |
| bool | TryCast (hugeint_t input, int8_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, int16_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, int32_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, int64_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, uint8_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, uint16_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, uint32_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, uint64_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, hugeint_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, uhugeint_t &result) |
| template<> | |
| bool | TryCast (hugeint_t input, float &result) |
| template<> | |
| bool | TryCast (hugeint_t input, double &result) |
| template<> | |
| bool | TryCast (hugeint_t input, long double &result) |
| template<> | |
| bool | TryConvert (int8_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (const char *value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (int16_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (int32_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (int64_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint8_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint16_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint32_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint64_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (hugeint_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (float value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (double value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (long double value, hugeint_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, int8_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, int16_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, int32_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, int64_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, uint8_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, uint16_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, uint32_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, uint64_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, hugeint_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, uhugeint_t &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, float &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, double &result) |
| template<> | |
| DUCKDB_API bool | TryCast (hugeint_t input, long double &result) |
| template<> | |
| bool | TryConvert (int8_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (int16_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (int32_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (int64_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint8_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint16_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint32_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (uint64_t value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (float value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (double value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (long double value, hugeint_t &result) |
| template<> | |
| bool | TryConvert (const char *value, hugeint_t &result) |
Static Public Member Functions | |
| static string | ToString (hugeint_t input) |
| Convert a hugeint object to a string. | |
| template<class T> | |
| static DUCKDB_API bool | TryCast (hugeint_t input, T &result) |
| template<class T> | |
| static T | Cast (hugeint_t input) |
| template<class T> | |
| static bool | TryConvert (T value, hugeint_t &result) |
| template<class T> | |
| static hugeint_t | Convert (T value) |
| static bool | TryNegate (hugeint_t input, hugeint_t &result) |
| template<bool CHECK_OVERFLOW = true> | |
| static void | NegateInPlace (hugeint_t &input) |
| template<bool CHECK_OVERFLOW = true> | |
| static hugeint_t | Negate (hugeint_t input) |
| static bool | TryMultiply (hugeint_t lhs, hugeint_t rhs, hugeint_t &result) |
| template<bool CHECK_OVERFLOW = true> | |
| static hugeint_t | Multiply (hugeint_t lhs, hugeint_t rhs) |
| static bool | TryDivMod (hugeint_t lhs, hugeint_t rhs, hugeint_t &result, hugeint_t &remainder) |
| template<bool CHECK_OVERFLOW = true> | |
| static hugeint_t | Divide (hugeint_t lhs, hugeint_t rhs) |
| template<bool CHECK_OVERFLOW = true> | |
| static hugeint_t | Modulo (hugeint_t lhs, hugeint_t rhs) |
| static bool | TryAddInPlace (hugeint_t &lhs, hugeint_t rhs) |
| template<bool CHECK_OVERFLOW = true> | |
| static hugeint_t | Add (hugeint_t lhs, hugeint_t rhs) |
| static bool | TrySubtractInPlace (hugeint_t &lhs, hugeint_t rhs) |
| template<bool CHECK_OVERFLOW = true> | |
| static hugeint_t | Subtract (hugeint_t lhs, hugeint_t rhs) |
| static hugeint_t | DivMod (hugeint_t lhs, hugeint_t rhs, hugeint_t &remainder) |
| static hugeint_t | DivModPositive (hugeint_t lhs, uint64_t rhs, uint64_t &remainder) |
| static int | Sign (hugeint_t n) |
| static hugeint_t | Abs (hugeint_t n) |
| static bool | Equals (const hugeint_t &lhs, const hugeint_t &rhs) |
| static bool | NotEquals (const hugeint_t &lhs, const hugeint_t &rhs) |
| static bool | GreaterThan (const hugeint_t &lhs, const hugeint_t &rhs) |
| static bool | GreaterThanEquals (const hugeint_t &lhs, const hugeint_t &rhs) |
| static bool | LessThan (const hugeint_t &lhs, const hugeint_t &rhs) |
| static bool | LessThanEquals (const hugeint_t &lhs, const hugeint_t &rhs) |
| template<> | |
| void | NegateInPlace (hugeint_t &input) |
| template<> | |
| hugeint_t | Multiply (hugeint_t lhs, hugeint_t rhs) |
| template<> | |
| hugeint_t | Divide (hugeint_t lhs, hugeint_t rhs) |
| template<> | |
| hugeint_t | Modulo (hugeint_t lhs, hugeint_t rhs) |
| template<> | |
| hugeint_t | Add (hugeint_t lhs, hugeint_t rhs) |
| template<> | |
| hugeint_t | Subtract (hugeint_t lhs, hugeint_t rhs) |
Static Public Attributes | |
| static constexpr const char * | HUGEINT_MINIMUM_STRING = "-170141183460469231731687303715884105728" |
| static constexpr uint8_t | CACHED_POWERS_OF_TEN = 39 |
| static const hugeint_t | POWERS_OF_TEN [CACHED_POWERS_OF_TEN] |
The Hugeint class contains static operations for the INT128 type.
|
static |
Convert a hugeint object to a string.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
| bool duckdb::Hugeint::TryCast | ( | hugeint_t | input, |
| uhugeint_t & | result ) |
| bool duckdb::Hugeint::TryCast | ( | hugeint_t | input, |
| float & | result ) |
| bool duckdb::Hugeint::TryCast | ( | hugeint_t | input, |
| double & | result ) |
| bool duckdb::Hugeint::TryCast | ( | hugeint_t | input, |
| long double & | result ) |
| bool duckdb::Hugeint::TryConvert | ( | const char * | value, |
| hugeint_t & | result ) |
| bool duckdb::Hugeint::TryConvert | ( | float | value, |
| hugeint_t & | result ) |
| bool duckdb::Hugeint::TryConvert | ( | double | value, |
| hugeint_t & | result ) |
| bool duckdb::Hugeint::TryConvert | ( | long double | value, |
| hugeint_t & | result ) |