1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
This commit is contained in:
Michael Mclaughlin 2016-02-05 00:04:05 +00:00
parent 9c419dabfe
commit 587b9fe82f
5 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,8 @@
####5.0.2
* 05/02/2015
* Added immutability tests.
* Minor *decimal.js* clean-up.
####5.0.1 ####5.0.1
* 28/01/2015 * 28/01/2015
* Bugfix: #20 cos mutates value. * Bugfix: #20 cos mutates value.
@ -18,7 +23,7 @@
* The Decimal constructor and `toString` no longer accept a base argument. * The Decimal constructor and `toString` no longer accept a base argument.
* Binary, hexadecimal and octal prefixes are now recognised for string values. * Binary, hexadecimal and octal prefixes are now recognised for string values.
* Removed `Decimal.errors` configuration property. * Removed `Decimal.errors` configuration property.
* Removed `toFormat`. * Removed `toFormat` method.
* Removed `Decimal.ONE`. * Removed `Decimal.ONE`.
* Renamed `exponential` method to `naturalExponential`. * Renamed `exponential` method to `naturalExponential`.
* Renamed `Decimal.constructor` method to `Decimal.clone`. * Renamed `Decimal.constructor` method to `Decimal.clone`.

View File

@ -1,10 +1,10 @@
/*! decimal.js v5.0.1 https://github.com/MikeMcl/decimal.js/LICENCE */ /*! decimal.js v5.0.2 https://github.com/MikeMcl/decimal.js/LICENCE */
;(function (globalScope) { ;(function (globalScope) {
'use strict'; 'use strict';
/* /*
* decimal.js v5.0.1 * decimal.js v5.0.2
* An arbitrary-precision Decimal type for JavaScript. * An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js * https://github.com/MikeMcl/decimal.js
* Copyright (c) 2016 Michael Mclaughlin <M8ch88l@gmail.com> * Copyright (c) 2016 Michael Mclaughlin <M8ch88l@gmail.com>

6
decimal.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"name": "decimal.js", "name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.", "description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "5.0.1", "version": "5.0.2",
"keywords": [ "keywords": [
"arbitrary", "arbitrary",
"precision", "precision",
@ -28,6 +28,6 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"test": "node ./test/test.js", "test": "node ./test/test.js",
"build": "uglifyjs decimal.js --source-map doc/decimal.js.map -c -m -o decimal.min.js --preamble \"/* decimal.js v5.0.1 https://github.com/MikeMcl/decimal.js/LICENCE */\"" "build": "uglifyjs decimal.js --source-map doc/decimal.js.map -c -m -o decimal.min.js --preamble \"/* decimal.js v5.0.2 https://github.com/MikeMcl/decimal.js/LICENCE */\""
} }
} }