UNPKG

quaeratin

Version:

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

14 lines (13 loc) 532 B
/** * Return the result of summing an array of terms, each term being an array of * floating point expansions to be multiplied together. * * * 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 terms to be summed; A term consists of an * array of floating point expansions to be multiplied together. */ declare function eCalculate(terms: number[][][]): number[]; export { eCalculate };