|
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, int8_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, int16_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, int32_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, int64_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, uint8_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, uint16_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, uint32_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, uint64_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, hugeint_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, uhugeint_t &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, float &result) |
| |
|
template<> |
| DUCKDB_API bool | TryCast (uhugeint_t input, double &result) |
| |
|
template<> |
| bool | TryConvert (int8_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (int16_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (int32_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (int64_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (uint8_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (uint16_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (uint32_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (uint64_t value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (float value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (double value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (long double value, uhugeint_t &result) |
| |
|
template<> |
| bool | TryConvert (const char *value, uhugeint_t &result) |
| |
|
|
static string | ToString (uhugeint_t input) |
| | Convert a uhugeint object to a string.
|
| |
|
template<class T > |
| static DUCKDB_API bool | TryCast (uhugeint_t input, T &result) |
| |
| template<class T > |
| static T | Cast (uhugeint_t input) |
| |
|
template<class T > |
| static bool | TryConvert (T value, uhugeint_t &result) |
| |
| template<class T > |
| static uhugeint_t | Convert (T value) |
| |
|
static bool | TryNegate (uhugeint_t input, uhugeint_t &result) |
| |
| template<bool CHECK_OVERFLOW = true> |
| static void | NegateInPlace (uhugeint_t &input) |
| |
| template<bool CHECK_OVERFLOW = true> |
| static uhugeint_t | Negate (uhugeint_t input) |
| |
|
static bool | TryMultiply (uhugeint_t lhs, uhugeint_t rhs, uhugeint_t &result) |
| |
| template<bool CHECK_OVERFLOW = true> |
| static uhugeint_t | Multiply (uhugeint_t lhs, uhugeint_t rhs) |
| |
|
static bool | TryDivMod (uhugeint_t lhs, uhugeint_t rhs, uhugeint_t &result, uhugeint_t &remainder) |
| |
| template<bool CHECK_OVERFLOW = true> |
| static uhugeint_t | Divide (uhugeint_t lhs, uhugeint_t rhs) |
| |
| template<bool CHECK_OVERFLOW = true> |
| static uhugeint_t | Modulo (uhugeint_t lhs, uhugeint_t rhs) |
| |
|
static bool | TryAddInPlace (uhugeint_t &lhs, uhugeint_t rhs) |
| |
| template<bool CHECK_OVERFLOW = true> |
| static uhugeint_t | Add (uhugeint_t lhs, uhugeint_t rhs) |
| |
|
static bool | TrySubtractInPlace (uhugeint_t &lhs, uhugeint_t rhs) |
| |
| template<bool CHECK_OVERFLOW = true> |
| static uhugeint_t | Subtract (uhugeint_t lhs, uhugeint_t rhs) |
| |
|
static uhugeint_t | DivMod (uhugeint_t lhs, uhugeint_t rhs, uhugeint_t &remainder) |
| |
|
static int | Sign (hugeint_t n) |
| |
|
static hugeint_t | Abs (hugeint_t n) |
| |
| static bool | Equals (uhugeint_t lhs, uhugeint_t rhs) |
| |
| static bool | NotEquals (uhugeint_t lhs, uhugeint_t rhs) |
| |
| static bool | GreaterThan (uhugeint_t lhs, uhugeint_t rhs) |
| |
| static bool | GreaterThanEquals (uhugeint_t lhs, uhugeint_t rhs) |
| |
| static bool | LessThan (uhugeint_t lhs, uhugeint_t rhs) |
| |
| static bool | LessThanEquals (uhugeint_t lhs, uhugeint_t rhs) |
| |
The uhugeint class contains static operations for the UINT128 type.