1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

Remove the ± character

It's not supported by Github's online editor, and the "+-" string was being used throughout the code already
This commit is contained in:
Joel Santirso 2014-06-30 19:35:20 +02:00
parent 67bb6b838f
commit e49ebd094d

View File

@ -1461,15 +1461,15 @@
* ECMAScript compliant. * ECMAScript compliant.
* *
* x is any value, including NaN. * x is any value, including NaN.
* n is any number, including ±Infinity unless stated. * n is any number, including +-Infinity unless stated.
* *
* pow( x, NaN ) = NaN * pow( x, NaN ) = NaN
* pow( x, ±0 ) = 1 * pow( x, +-0 ) = 1
* pow( NaN, nonzero ) = NaN * pow( NaN, nonzero ) = NaN
* pow( abs(n) > 1, +Infinity ) = +Infinity * pow( abs(n) > 1, +Infinity ) = +Infinity
* pow( abs(n) > 1, -Infinity ) = +0 * pow( abs(n) > 1, -Infinity ) = +0
* pow( abs(n) == 1, ±Infinity ) = NaN * pow( abs(n) == 1, +-Infinity ) = NaN
* pow( abs(n) < 1, +Infinity ) = +0 * pow( abs(n) < 1, +Infinity ) = +0
* pow( abs(n) < 1, -Infinity ) = +Infinity * pow( abs(n) < 1, -Infinity ) = +Infinity
* pow( +Infinity, n > 0 ) = +Infinity * pow( +Infinity, n > 0 ) = +Infinity