Macaw.Data.Operations.Aggregates.Sum (macaw_data v0.13.0)

View Source

sum: the sum of numbers, 0 of none (spec/04 §5): exact, so any order and any grouping of the readings give the same value. Integers add as integers; with a float among them, the exact sum is rounded once to the nearest float.