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 43
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.