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

fsum example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example with sample data · Run to view results.

Catalog examples

SELECT
  kahan_sum(A);