◆ Operation()
228771 {
228772 auto max_value = NumericStats::GetMax<T>(istats);
228773 auto min_value = NumericStats::GetMin<T>(istats);
228774 if (!NegateOperator::CanNegate<T>(min_value) || !NegateOperator::CanNegate<T>(max_value)) {
228775 return true;
228776 }
228777
228778 new_min =
Value::Numeric(type, NegateOperator::Operation<T, T>(max_value));
228779
228780 new_max =
Value::Numeric(type, NegateOperator::Operation<T, T>(min_value));
228781 return false;
228782 }
static DUCKDB_API Value Numeric(const LogicalType &type, int64_t value)
Create a Numeric value of the specified type with the specified value.
Definition duckdb.cpp:133053
The documentation for this struct was generated from the following file: