UNPKG

quaeratin

Version:

An extended precision floating point library (as per Shewchuk) - precision only limited by overflow / underflow

14 lines (13 loc) 429 B
/** * Returns the result of summing an array of floating point expansions. * * * The result is exact in the form of a non-overlapping floating point * expansion. * * * see [Shewchuk](https://people.eecs.berkeley.edu/~jrs/papers/robustr.pdf) * * @param terms An array of numbers to be summed; A term is represented by a * floating point expansion. */ declare function eSum(terms: number[][]): number[]; export { eSum };