From e49ebd094dd19c106cb0b1afa62bb3735b1be864 Mon Sep 17 00:00:00 2001 From: Joel Santirso Date: Mon, 30 Jun 2014 19:35:20 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20the=20=C2=B1=20character?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's not supported by Github's online editor, and the "+-" string was being used throughout the code already --- decimal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/decimal.js b/decimal.js index 492f363..ddf0db9 100644 --- a/decimal.js +++ b/decimal.js @@ -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