fsum
A compensated Float64 sum.
Flags
| Flag | Value |
|---|---|
| Kind | aggregate |
| Nulls | nulls are skipped |
| Deterministic | yes |
| Order matters | no |
| Decomposable | yes, by compensated sum |
Example
A pipeline from the language's tested corpus that uses fsum, over the example tables.
from orders
aggregate {n = count(id), lo = min(amount), hi = max(amount), f = fsum(price)} by:{status}In a plan:
{
"args": [
{
"col": 4
}
],
"fn": "fsum"
}