|
|
using | ResultType = T |
|
using | IntermediateType = INTERMEDIATE_T |
|
using | Operation = OP |
|
|
ResultType | result |
|
IntermediateType | intermediate |
|
uint8_t | digits |
|
ResultType | decimal |
|
uint16_t | decimal_total_digits |
|
ResultType | decimal_intermediate |
|
uint16_t | decimal_intermediate_digits |
◆ Flush()
template<typename T, typename OP, typename INTERMEDIATE_T>
90456 {
90457 if (digits == 0 && intermediate == 0) {
90458 return true;
90459 }
90460 if (result.lower != 0 || result.upper != 0) {
90461 if (digits > 38) {
90462 return false;
90463 }
90465 return false;
90466 }
90467 }
90469 return false;
90470 }
90471 digits = 0;
90472 intermediate = 0;
90473 return true;
90474 }
Definition duckdb.cpp:90443
◆ FlushDecimal()
template<typename T, typename OP, typename INTERMEDIATE_T>
90476 {
90477 if (decimal_intermediate_digits == 0 && decimal_intermediate == 0) {
90478 return true;
90479 }
90480 if (decimal.lower != 0 || decimal.upper != 0) {
90481 if (decimal_intermediate_digits > 38) {
90482 return false;
90483 }
90485 return false;
90486 }
90487 }
90489 return false;
90490 }
90491 decimal_total_digits += decimal_intermediate_digits;
90492 decimal_intermediate_digits = 0;
90493 decimal_intermediate = 0;
90494 return true;
90495 }
The documentation for this struct was generated from the following file: