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:
parent
67bb6b838f
commit
e49ebd094d
@ -1461,15 +1461,15 @@
|
||||
* ECMAScript compliant.
|
||||
*
|
||||
* 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, ±0 ) = 1
|
||||
* pow( x, +-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, +-Infinity ) = NaN
|
||||
* pow( abs(n) < 1, +Infinity ) = +0
|
||||
* pow( abs(n) < 1, -Infinity ) = +Infinity
|
||||
* pow( +Infinity, n > 0 ) = +Infinity
|
||||
|
Loading…
Reference in New Issue
Block a user