# robust-subtract

> Exact subtraction of non-increasing overlapping sequences

Latest version **1.0.0** (published 2014-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install robust-subtract
pnpm add robust-subtract
yarn add robust-subtract
bun add robust-subtract
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-04-28 |
| First published | 2013-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko |
| Keywords | robust, subtraction, difference |

## Links

- npm: https://www.npmjs.com/package/robust-subtract
- Repository: https://github.com/mikolalysenko/robust-subtract
- Issues: https://github.com/mikolalysenko/robust-subtract/issues
- npm.io page: https://npm.io/package/robust-subtract

## Recent versions

- 1.0.0 (latest) — 2014-04-28
- 0.0.0 — 2013-10-25

## README

robust-subtract
===============
Exactly computes the difference of two non-increasing overlapping sequences.  See [robust-sum for more details](https://github.com/mikolalysenko/robust-sum).

# Example

```javascript
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

---
_Source: https://npm.io/package/robust-subtract · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
