v1.3.0
This commit is contained in:
parent
9d60fe27a3
commit
f86ef21c4f
15
README.md
15
README.md
|
@ -8,9 +8,9 @@ A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic.
|
|||
- Faster, smaller, and perhaps easier to use than JavaScript versions of Java's BigDecimal
|
||||
- 5 KB minified and gzipped
|
||||
- Simple API but full-featured
|
||||
- Works with numbers with or without fraction digits in bases from 2 to 36 inclusive
|
||||
- Works with numbers with or without fraction digits in bases from 2 to 64 inclusive
|
||||
- Replicates the `toExponential`, `toFixed`, `toPrecision` and `toString` methods of JavaScript's Number type
|
||||
- Includes a `toFraction` and a `squareRoot` method
|
||||
- Includes a `toFraction` and a correctly-rounded `squareRoot` method
|
||||
- Stores values in an accessible decimal floating point format
|
||||
- No dependencies
|
||||
- Comprehensive documentation and test set
|
||||
|
@ -193,14 +193,13 @@ will create *bignumber.min.js*.
|
|||
|
||||
## Feedback
|
||||
|
||||
Bugs: surely not! Open an issue, please.
|
||||
Other feedback to:
|
||||
Open an issue, or email
|
||||
|
||||
Michael
|
||||
<a href="mailto:M8ch88l@gmail.com">M8ch88l@gmail.com</a>
|
||||
|
||||
Bitcoin donation to:
|
||||
**1KdnpLRSkWJs4FXPzj7pQ39H4Ur6Urydti**
|
||||
**1CauoGYrEoJFhcyxGVaiLTE6f3WCaSUjnm**
|
||||
Thank you
|
||||
|
||||
## Licence
|
||||
|
@ -211,8 +210,12 @@ See LICENCE.
|
|||
|
||||
## Change Log
|
||||
|
||||
####1.3.0
|
||||
* 08/11/2013 Ensure correct rounding of `sqrt` in all, rather than almost all, cases.
|
||||
* Maximum radix to 64.
|
||||
|
||||
####1.2.1
|
||||
* 17/10/2013 Bugfix: sign of zero when x < 0 and x + (-x) = 0.
|
||||
* 17/10/2013 Sign of zero when x < 0 and x + (-x) = 0.
|
||||
|
||||
####1.2.0
|
||||
* 19/9/2013 Throw Error objects for stack.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
/* bignumber.js v1.2.1 https://github.com/MikeMcl/bignumber.js/LICENCE */
|
||||
/* bignumber.js v1.3.0 https://github.com/MikeMcl/bignumber.js/LICENCE */
|
||||
;(function ( global ) {
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
bignumber.js v1.2.1
|
||||
bignumber.js v1.3.0
|
||||
A JavaScript library for arbitrary-precision arithmetic.
|
||||
https://github.com/MikeMcl/bignumber.js
|
||||
Copyright (c) 2012 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -211,7 +211,7 @@ code,pre{font-family:Monaco,Consolas,"Lucida Console",monospace;
|
|||
<dl>
|
||||
<dt><code>base</code></dt>
|
||||
<dd>
|
||||
<i>number</i> : integer, <code>2</code> to <code>36</code> inclusive
|
||||
<i>number</i> : integer, <code>2</code> to <code>64</code> inclusive
|
||||
</dd>
|
||||
<dd>The base of <code>value</code>.</dd>
|
||||
<dd>If <code>base</code> is omitted, or is <code>null</code> or undefined,
|
||||
|
@ -1204,7 +1204,7 @@ y.toP(5) // '45.600'</pre>
|
|||
toString<code class='inset'>.toS([base]) ⇒ <i>string</i></code>
|
||||
</h5>
|
||||
<p>
|
||||
<code>base</code> : <i>number</i> : integer, 2 to 36 inclusive
|
||||
<code>base</code> : <i>number</i> : integer, 2 to 64 inclusive
|
||||
</p>
|
||||
<p>
|
||||
Returns a string representing the value of this BigNumber in the specified
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "bignumber.js",
|
||||
"description": "A library for arbitrary-precision decimal and non-decimal arithmetic",
|
||||
"version": "1.2.1",
|
||||
"version": "1.3.0",
|
||||
"keywords": [
|
||||
"arbitrary",
|
||||
"precision",
|
||||
|
|
Loading…
Reference in New Issue