Aggregates
Aggregate
fsum()
Calculates the sum using a more accurate floating point summation (Kahan Sum).
Alias of kahan_sum()
Arguments & returns
fsum(arg)
Aggregate
| Overload link | arg |
Returns |
|---|---|---|
| #01 | DOUBLE |
DOUBLE |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example with sample data · Run to view results.
Catalog examples
SELECT
kahan_sum(A);