Skip to content

Commit 02a0604

Browse files
committed
v9.0.1
1 parent aebd836 commit 02a0604

File tree

9 files changed

+54
-44
lines changed

9 files changed

+54
-44
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#### 9.0.1
2+
* 28/09/20
3+
* [BUGFIX] #276 Correct `sqrt` initial estimate.
4+
* Update *.travis.yml*, *LICENCE.md* and *README.md*.
5+
16
#### 9.0.0
27
* 27/05/2019
38
* For compatibility with legacy browsers, remove `Symbol` references.

LICENCE

Lines changed: 0 additions & 23 deletions
This file was deleted.

LICENCE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
The MIT License (MIT)
2+
=====================
3+
4+
Copyright © `<2020>` `Michael Mclaughlin`
5+
6+
Permission is hereby granted, free of charge, to any person
7+
obtaining a copy of this software and associated documentation
8+
files (the “Software”), to deal in the Software without
9+
restriction, including without limitation the rights to use,
10+
copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the
12+
Software is furnished to do so, subject to the following
13+
conditions:
14+
15+
The above copyright notice and this permission notice shall be
16+
included in all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
19+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25+
OTHER DEALINGS IN THE SOFTWARE.
26+

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@
22

33
A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic.
44

5-
[![Build Status](https://travis-ci.org/MikeMcl/bignumber.js.svg)](https://travis-ci.org/MikeMcl/bignumber.js)
5+
[![npm version](https://img.shields.io/npm/v/bignumber.js.svg)](https://www.npmjs.com/package/bignumber.js)
6+
[![npm downloads](https://img.shields.io/npm/dw/bignumber.js)](https://www.npmjs.com/package/bignumber.js)
7+
[![build status](https://travis-ci.org/MikeMcl/bignumber.js.svg)](https://travis-ci.org/MikeMcl/bignumber.js)
68

79
<br />
810

911
## Features
1012

11-
- Integers and decimals
12-
- Simple API but full-featured
13-
- Faster, smaller, and perhaps easier to use than JavaScript versions of Java's BigDecimal
14-
- 8 KB minified and gzipped
15-
- Replicates the `toExponential`, `toFixed`, `toPrecision` and `toString` methods of JavaScript's Number type
16-
- Includes a `toFraction` and a correctly-rounded `squareRoot` method
17-
- Supports cryptographically-secure pseudo-random number generation
18-
- No dependencies
19-
- Wide platform compatibility: uses JavaScript 1.5 (ECMAScript 3) features only
20-
- Comprehensive [documentation](http://mikemcl.github.io/bignumber.js/) and test set
13+
- Integers and decimals
14+
- Simple API but full-featured
15+
- Faster, smaller, and perhaps easier to use than JavaScript versions of Java's BigDecimal
16+
- 8 KB minified and gzipped
17+
- Replicates the `toExponential`, `toFixed`, `toPrecision` and `toString` methods of JavaScript's Number type
18+
- Includes a `toFraction` and a correctly-rounded `squareRoot` method
19+
- Supports cryptographically-secure pseudo-random number generation
20+
- No dependencies
21+
- Wide platform compatibility: uses JavaScript 1.5 (ECMAScript 3) features only
22+
- Comprehensive [documentation](http://mikemcl.github.io/bignumber.js/) and test set
2123

2224
![API](https://raw.githubusercontent.com/MikeMcl/bignumber.js/gh-pages/API.png)
2325

@@ -29,7 +31,7 @@ See also [decimal.js](https://github.com/MikeMcl/decimal.js/), which among other
2931

3032
## Load
3133

32-
The library is the single JavaScript file *bignumber.js* or as an ES module *bignumber.mjs*.
34+
The library is the single JavaScript file *bignumber.js* or ES module *bignumber.mjs*.
3335

3436
### Browser:
3537

@@ -42,7 +44,7 @@ The library is the single JavaScript file *bignumber.js* or as an ES module *big
4244
```html
4345
<script type="module">
4446
import BigNumber from './path/to/bignumber.mjs';
45-
...
47+
...
4648
</script>
4749
```
4850

@@ -151,7 +153,7 @@ x.toNumber() // 255.5
151153
```
152154

153155
A base can be specified for [`toString`](http://mikemcl.github.io/bignumber.js/#toS).
154-
156+
155157
*Performance is better if base 10 is NOT specified, i.e. use `toString()` not `toString(10)`. Only specify base 10 when it is desired that the number of decimal places be limited to the current [`DECIMAL_PLACES`](http://mikemcl.github.io/bignumber.js/#decimal-places) setting.*
156158

157159
```javascript

bignumber.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
'use strict';
33

44
/*
5-
* bignumber.js v9.0.0
5+
* bignumber.js v9.0.1
66
* A JavaScript library for arbitrary-precision arithmetic.
77
* https://github.com/MikeMcl/bignumber.js
8-
* Copyright (c) 2019 Michael Mclaughlin <M8ch88l@gmail.com>
8+
* Copyright (c) 2020 Michael Mclaughlin <M8ch88l@gmail.com>
99
* MIT Licensed.
1010
*
1111
* BigNumber.prototype methods | BigNumber methods

bignumber.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bignumber.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bignumber.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* bignumber.js v9.0.0
2+
* bignumber.js v9.0.1
33
* A JavaScript library for arbitrary-precision arithmetic.
44
* https://github.com/MikeMcl/bignumber.js
5-
* Copyright (c) 2019 Michael Mclaughlin <M8ch88l@gmail.com>
5+
* Copyright (c) 2020 Michael Mclaughlin <M8ch88l@gmail.com>
66
* MIT Licensed.
77
*
88
* BigNumber.prototype methods | BigNumber methods

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bignumber.js",
33
"description": "A library for arbitrary-precision decimal and non-decimal arithmetic",
4-
"version": "9.0.0",
4+
"version": "9.0.1",
55
"keywords": [
66
"arbitrary",
77
"precision",

0 commit comments

Comments
 (0)