Skip to content

Commit db8091b

Browse files
committed
v6.0.0
Add optional rounding mode parameter to `toExponential`, `toFixed` and `toPrecision`. Add a strict mode to disallow imprecise number/Big conversions when `Big.strict = true`. Add `toNumber` method. Add `prec` method to round a Big to a specified number of significant digits. Add version selector to API documentation. Change `toJSON` to return exponential format. Remove *big.min.js*. Remove `Big.version`. Rename *doc* folder to *docs* to use it as the Github publishing source. Add legacy API documentation to *docs*. Add *README* to *perf* directory. Refactor test suite, and add `toNumber` and `prec` tests. Update *README*.
1 parent b14a15f commit db8091b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+44294
-33686
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#### 6.0.0
2+
3+
* 25/09/20
4+
* Add optional rounding mode parameter to `toExponential`, `toFixed` and `toPrecision`.
5+
* Add a strict mode to disallow imprecise number/Big conversions when `Big.strict = true`.
6+
* Add `toNumber` method.
7+
* Add `prec` method to round a Big to a specified number of significant digits.
8+
* Add version selector to API documentation.
9+
* Change `toJSON` to return exponential format.
10+
* Remove *big.min.js*.
11+
* Remove `Big.version`.
12+
* Rename *doc* folder to *docs* to use it as the Github publishing source.
13+
* Add legacy API documentation to *docs*.
14+
* Add *README* to *perf* directory.
15+
* Refactor test suite, and add `toNumber` and `prec` tests.
16+
* Update *README*.
17+
118
#### 5.2.2
219

320
* 18/10/18

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+

0 commit comments

Comments
 (0)