|
|
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 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) |
| |
The Hugeint class contains static operations for the INT128 type.