3.1 KiB
3.1 KiB
7.1.1
- 10/01/2017
- Remove duplicated for-loop
- Minor refactoring
7.1.0
- 09/11/2016
- Support ES6 imports.
7.0.0
- 09/11/2016
- Remove
require('crypto')- leave it to the user - Default
Decimal.cryptotofalse - Add
Decimal.setasDecimal.configalias
6.0.0
- 30/06/2016
- Removed base-88 serialization format
- Amended
toJSONand removedDecimal.fromJSONaccordingly
5.0.8
- 09/03/2016
- Add newline to single test results
- Correct year
5.0.7
- 29/02/2016
- Add decimal.js-light link
- Remove outdated example from docs
5.0.6
- 22/02/2016
- Add bower.json
5.0.5
- 20/02/2016
- Bugfix: #26 wrong precision applied
5.0.4
- 14/02/2016
- Bugfix: #26 clone
5.0.3
- 06/02/2016
- Refactor tests
5.0.2
- 05/02/2016
- Added immutability tests
- Minor decimal.js clean-up
5.0.1
- 28/01/2016
- Bugfix: #20 cos mutates value
- Add pi info to docs
5.0.0
- 25/01/2016
- Added trigonometric functions and
cubeRootmethod - Added most of JavaScript's
Mathobject methods as Decimal methods - Added
toBinary,toHexadecimalandtoOctalmethods - Added
isPositivemethod - Removed the 15 significant digit limit for numbers
toFractionnow returns an array of two Decimals, not two strings- String values containing whitespace or a plus sign are no longer accepted
valueOfnow returns'-0'for minus zerocomparedTonow returnsNaNnotnullfor comparisons withNaNDecimal.maxandDecimal.minno longer accept an array- The Decimal constructor and
toStringno longer accept a base argument - Binary, hexadecimal and octal prefixes are now recognised for string values
- Removed
Decimal.errorsconfiguration property - Removed
toFormatmethod - Removed
Decimal.ONE - Renamed
exponentialmethod tonaturalExponential - Renamed
Decimal.constructormethod toDecimal.clone - Simplified error handling and amended error messages
- Refactored the test suite
Decimal.cryptois nowundefinedby default, and thecryptoobject will be used if available- Major internal refactoring
- Removed bower.json
4.0.2
- 20/02/2015 Add bower.json. Add source map. Amend travis CI. Amend doc/comments
4.0.1
- 11/12/2014 Assign correct constructor when duplicating a Decimal
4.0.0
- 10/11/2014
toFormatamended to useDecimal.formatobject for more flexible configuration
3.0.1
- 8/06/2014 Surround crypto require in try catch. See issue #5
3.0.0
- 4/06/2014
randomsimplified. Major internal changes mean the properties of a Decimal must now be considered read-only
2.1.0
- 4/06/2014 Amend UMD
2.0.3
- 8/05/2014 Fix NaN toNumber
2.0.2
- 30/04/2014 Correct doc links
2.0.1
- 10/04/2014 Update npmignore
2.0.0
- 10/04/2014 Add
toSignificantDigits - Remove
toInteger - No arguments to
ceil,floor,roundandtrunc
1.0.1
- 07/04/2014 Minor documentation clean-up
1.0.0
- 02/04/2014 Initial release