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-18 20:15:27 +00:00
parent 50250d8c83
commit b060c29184
5 changed files with 13 additions and 10 deletions

View File

@ -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.

View File

@ -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>"

View File

@ -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

View File

@ -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 */\""
}
}