- 10/09/24
- #212 Bugfix:
sqrt
error whenBig.strict
istrue
.
- 09/07/22
- #191 Bugfix:
round
may result in improper coefficient.
- 04/06/22
- Add note that a Big number is created from a numbers
toString
value. - #173 Add
Symbol.for('nodejs.util.inspect.custom')
. - Allow
BigInt
whenBig.strict
istrue
. - #177 Add
neg
method to negate a Big number. - Add to package.json exports.
- 03/05/21
- #169 Bugfix:
round
,toFixed
etc. using original constructorRM
(bug introduced in v6.0.0). - #169 Correct rounding mode documentation.
- Add version number to legacy documentation.
- 26/04/21
- #165 Add missing documentation of
toFixed
etc. rounding mode parameter. - #150 Add static rounding modes to
Big
constructor.
- 02/12/20
- #148 Bugfix: primitive numbers passed to constructor internally in strict mode.
- 31/10/20
- #147 Change
toJSON
to be an alias oftoString
.
- 30/09/20
- Correct
sqrt
initial estimate.
- 25/09/20
- Add optional rounding mode parameter to
toExponential
,toFixed
andtoPrecision
. - 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
andprec
tests. - Update README.
- 18/10/18
- #109 Remove opencollective dependency.
- Delete bower.json.
- 09/10/18
- #63 Allow negative argument for
round
. - #107
sqrt
of large number.
- 24/05/18
- #95 Add
browser
field to package.json. - Restore named export to enable
import {Big}
.
- 22/05/18
- #95 Remove named export.
- 22/05/18
- Amend .mjs exports.
- Remove extension from
main
field in package.json.
- 23/10/17
- #89 Optimisation of internal
round
function.
- 13/10/17
- Update README.md.
- 13/10/17
- Correct
Big.version
number.
- 13/10/17
- Return
-0
fromvalueOf
for negative zero. - Refactor the methods which return a string.
- Amend error messaging.
- Update API document and change its colour scheme.
- Add
Big.version
. - Remove bitcoin address.
- 28/09/17
- Add big.mjs for use with Node.js with
--experimental-modules
flag.
- 27/09/17
- Rename
Big.E_POS
toBig.PE
,Big.E_NEG
toBig.NE
. - Refactor error messaging.
- Throw if
null
is passed totoFixed
etc.
- 14/09/17 Aid ES6 import.
- Minor documentation updates.
- README typo.
- API documentation update, including FAQ additions.
- Renamed and exposed
TO_EXP_NEG
andTO_EXP_POS
asBig.E_NEG
andBig.E_POS
.
- Remove .npmignore, use
files
field in package.json instead.
- Added
sub
,add
andmul
aliases. - Clean-up after lint.
- 10/12/14 Added multiple constructor functionality.
- No breaking changes or other additions, but a major code reorganisation, so v3 seemed appropiate.
- 1/11/14 Added bower.json.
- 8/06/14 Amend README requires.
- 26/01/14 Added
toJSON
method so serialization usestoString
.
- 17/10/13 Conform signed zero to IEEEE 754 (2008).
- 19/09/13 Throw instances of
Error
.
- 16/09/13 Added
cmp
method.
- 11/07/13 Added 'round up' mode.
- 26/06/13 Allow e.g.
.1
and2.
.
- 12/05/13 Added
abs
method and replacedcmp
witheq
,gt
,gte
,lt
, andlte
methods.
- Changed default value of MAX_DP to 1E6
- 7/11/2012 Initial release