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
- geometry3d/PointHelpers.ts Line 46
Last Updated: 20 June, 2023