sumKahan
sumKahan
Introduced in: v1.1
Calculates the sum of the numbers with Kahan compensated summation algorithm.
Slower than sum function.
The compensation works only for Float types.
Syntax
Arguments
Returned value
Returns the sum of numbers. (U)Int* or Float* or Decimal
Examples
Demonstrating precision improvement with Kahan summation