v4.x.x
Michael Mclaughlin 8 years ago
parent 50250d8c83
commit b060c29184

@ -204,6 +204,9 @@ See LICENCE.
## Change Log
####4.0.4
* 18/02/2016 Prevent browserify crypto require.
####4.0.3
* 2/10/2015 Internal round function bugfix.

@ -1,7 +1,7 @@
{
"name": "decimal.js",
"main": "decimal.js",
"version": "4.0.3",
"version": "4.0.4",
"homepage": "https://github.com/MikeMcl/decimal.js",
"authors": [
"Michael Mclaughlin <M8ch88l@gmail.com>"

@ -1,13 +1,13 @@
/*! decimal.js v4.0.3 https://github.com/MikeMcl/decimal.js/LICENCE */
/*! decimal.js v4.0.4 https://github.com/MikeMcl/decimal.js/LICENCE */
;(function (global) {
'use strict';
/*
* decimal.js v4.0.3
* decimal.js v4.0.4
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2014 Michael Mclaughlin <M8ch88l@gmail.com>
* Copyright (c) 2016 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Expat Licence
*/
@ -1503,15 +1503,15 @@
* ECMAScript compliant.
*
* x is any value, including NaN.
* n is any number, including ±Infinity unless stated.
* n is any number, including <EFBFBD>Infinity unless stated.
*
* pow( x, NaN ) = NaN
* pow( x, ±0 ) = 1
* pow( x, <EFBFBD>0 ) = 1
* pow( NaN, nonzero ) = NaN
* pow( abs(n) > 1, +Infinity ) = +Infinity
* pow( abs(n) > 1, -Infinity ) = +0
* pow( abs(n) == 1, ±Infinity ) = NaN
* pow( abs(n) == 1, <EFBFBD>Infinity ) = NaN
* pow( abs(n) < 1, +Infinity ) = +0
* pow( abs(n) < 1, -Infinity ) = +Infinity
* pow( +Infinity, n > 0 ) = +Infinity

2
decimal.min.js vendored

File diff suppressed because one or more lines are too long

@ -1,7 +1,7 @@
{
"name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "4.0.3",
"version": "4.0.4",
"keywords": [
"arbitrary",
"precision",
@ -31,6 +31,6 @@
"license": "MIT",
"scripts": {
"test": "node ./test/every-test.js",
"build": "uglifyjs decimal.js --source-map doc/decimal.js.map -c -m -o decimal.min.js --preamble \"/* decimal.js v4.0.3 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 v4.0.4 https://github.com/MikeMcl/decimal.js/LICENCE */\""
}
}
Loading…
Cancel
Save