preciseSum MethodStatic

return the sum of values in an array, The summation is done with correction terms which improves last-bit numeric accuracy.

preciseSum(data: number[]): number

Parameter Type Description
data number[]  

Returns - number

Defined in

Last Updated: 30 November, 2023