JSPM

robust-subtract

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 106035
  • Score
    100M100P100Q164287F
  • License MIT

Exact subtraction of non-increasing overlapping sequences

Package Exports

  • robust-subtract

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (robust-subtract) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

robust-subtract

Exactly computes the difference of two non-increasing overlapping sequences. See robust-sum for more details.

Example

var robustDiff = require("robust-subtract")

console.log(robustDiff([1], [1e-64]))

Install

npm install robust-subtract

API

require("robust-subtract")(a,b)

Returns the difference of the sequences a and b encoded as a non-overlapping increasing sequence.

  • a is the first number
  • b is the second number

Returns The difference of a and b

Credits

(c) 2014 Mikola Lysenko. MIT License