DuckDB fsum returns NaN instead of the sum when the running sum overflows
· 3 min read
In DuckDB 2.0.0, fsum returns NaN instead of the sum when the running sum overflows.
Bugs in fsum
View All TagsIn DuckDB 2.0.0, fsum returns NaN instead of the sum when the running sum overflows.
In DuckDB 2.0.0, fsum returns a sum that is off by one rounding step.
In DuckDB 2.0.0, fsum returns the wrong sum when small values are added to a large value that later cancels.
In DuckDB 2.0.0, fsum returns the wrong sum when small values are summed before the large values cancel.