Evaluates the sum of two nonoverlapping increasing sequences of floats
Computes the sum of two increasing non-overlapping sequences of floats as an increasing non-overlapping sequence. This can be used to perform exact arithmetic calculations on floating point values.
For more information, see:
npm install robust-sum
var robustSum =var seq =console
Computes the sum of two non-overlapping increasing sequences of floats exactly as a non-overlapping increasing sequence of floats.
ais a non-overlapping sequence of floats that is increasing in magnitude
bis a non-overlapping sequence of floats that is increasing magnitude
Returns A non-overlapping increasing sequence that encodes the result of
Based on JRS' robust geometric predicates for floating point arithmetic.
Implementation (c) 2013 Mikola Lysenko. MIT License