# robust-scale

> Multiplies a nonoverlapping increasing sequence of floats by a single float

Latest version **1.0.2** (published 2014-05-05) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2014-05-05 |
| First published | 2013-09-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko |
| Keywords | nonoverlapping, exact, float, multiply, product, scale, sequence, robust |

## Links

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

## Dependencies (2)

- [two-sum](https://npm.io/package/two-sum.md) ^1.0.0
- [two-product](https://npm.io/package/two-product.md) ^1.0.2

## Recent versions

- 1.0.2 (latest) — 2014-05-05
- 1.0.1 — 2014-05-05
- 1.0.0 — 2014-04-28
- 0.0.4 — 2013-10-25
- 0.0.3 — 2013-09-19
- 0.0.2 — 2013-09-19
- 0.0.1 — 2013-09-18
- 0.0.0 — 2013-09-18

## README

robust-scale
============
Scales a nonoverlapping increasing sequence of floats by a single floating point value.

## Install

		npm install robust-scale
		
## Example

```javascript
var robustScale = require("robust-scale")

robustScale([1, 1e64], 2)
```

## API

### `require("robust-scale")(a, s)`
Multiplies a nonoverlapping increasing sequence of floats by a float.

* `a` is the sequence to multiply
* `s` is the amount to scale `a` by.  Must be a single float

**Returns** An array encoding the product `a*s`.

## Credits
Based on JRS robust geometry predicates

Implementation (c) 2013-2014 Mikola Lysenko. MIT License

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