|
|
template<> |
| bool | Operation (int16_t left, int16_t right, int16_t &result) |
|
template<> |
| bool | Operation (int32_t left, int32_t right, int32_t &result) |
|
template<> |
| bool | Operation (int64_t left, int64_t right, int64_t &result) |
|
template<> |
| bool | Operation (hugeint_t left, hugeint_t right, hugeint_t &result) |
| template<> |
| bool | Operation (int16_t left, int16_t right, int16_t &result) |
| template<> |
| bool | Operation (int32_t left, int32_t right, int32_t &result) |
| template<> |
| bool | Operation (int64_t left, int64_t right, int64_t &result) |
| template<> |
| bool | Operation (hugeint_t left, hugeint_t right, hugeint_t &result) |
|
| template<class TA, class TB, class TR> |
| static bool | Operation (TA left, TB right, TR &result) |
◆ Operation() [1/5]
template<class TA, class TB, class TR>
| bool duckdb::TryDecimalAdd::Operation |
( |
TA | left, |
|
|
TB | right, |
|
|
TR & | result ) |
|
inlinestatic |
20198 {
20199 throw InternalException("Unimplemented type for TryDecimalAdd");
20200 }
◆ Operation() [2/5]
227974 {
227975 return TryDecimalAddTemplated<
int16_t, -9999, 9999>(left, right, result);
227976}
◆ Operation() [3/5]
227979 {
227980 return TryDecimalAddTemplated<
int32_t, -999999999, 999999999>(left, right, result);
227981}
◆ Operation() [4/5]
227984 {
227985 return TryDecimalAddTemplated<
int64_t, -999999999999999999, 999999999999999999>(left, right, result);
227986}
◆ Operation() [5/5]
227989 {
227990 if (!TryAddOperator::Operation(left, right, result)) {
227991 return false;
227992 }
227993 if (result <= -Hugeint::POWERS_OF_TEN[38] || result >= Hugeint::POWERS_OF_TEN[38]) {
227994 return false;
227995 }
227996 return true;
227997}
The documentation for this struct was generated from the following file: