Evaluates the sum of two nonoverlapping increasing sequences of floats
npm install robust-sumrobust-sum
==========
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:
* Jonathan Richard Shewchuk, "Adaptive precision floating-point arithmetic and fast robust geometric predicates". 1997
npm install robust-sum
``javascript
var robustSum = require("robust-sum")
var seq = robustSum([1, 64], [1e-64, 1e64])
console.log("result = ", seq)
`
* a is a non-overlapping sequence of floats that is increasing in magnitudeb
* is a non-overlapping sequence of floats that is increasing magnitude
Returns A non-overlapping increasing sequence that encodes the result of a+b`
Implementation (c) 2013 Mikola Lysenko. MIT License