From 8220c488f3b378d73bc2da0ffd152b548656c2d6 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Sun, 7 Feb 2016 20:36:12 -0500 Subject: [PATCH 1/3] Change U+2212 (MINUS SIGN) to U+002D (HYPHEN-MINUS) (16 occurrences, all in "Applying the `**` operator") ... for consistency with the rest of the spec. --- spec.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/spec.html b/spec.html index a33a2b7c71..e74c170bf3 100644 --- a/spec.html +++ b/spec.html @@ -12777,26 +12777,26 @@

Applying the `**` operator

From 2a1959996a28698aeaf34d2dfa6551372bacb3a5 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Sun, 7 Feb 2016 20:38:58 -0500 Subject: [PATCH 2/3] Add '*' formatters to [+-]∞ (20 occurrences, all in "Applying the `**` operator") --- spec.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/spec.html b/spec.html index e74c170bf3..af9f8643b3 100644 --- a/spec.html +++ b/spec.html @@ -12779,24 +12779,24 @@

Applying the `**` operator

  • If _exponent_ is +0, the result is 1, even if _base_ is *NaN*.
  • If _exponent_ is -0, the result is 1, even if _base_ is *NaN*.
  • If _base_ is *NaN* and _exponent_ is nonzero, the result is *NaN*.
  • -
  • If abs(_base_) > 1 and _exponent_ is +∞, the result is +∞.
  • -
  • If abs(_base_) > 1 and _exponent_ is -∞, the result is +0.
  • -
  • If abs(_base_) is 1 and _exponent_ is +∞, the result is *NaN*.
  • -
  • If abs(_base_) is 1 and _exponent_ is -∞, the result is *NaN*.
  • -
  • If abs(_base_) < 1 and _exponent_ is +∞, the result is +0.
  • -
  • If abs(_base_) < 1 and _exponent_ is -∞, the result is +∞.
  • -
  • If _base_ is +∞ and _exponent_ > 0, the result is +∞.
  • -
  • If _base_ is +∞ and _exponent_ < 0, the result is +0.
  • -
  • If _base_ is -∞ and _exponent_ > 0 and _exponent_ is an odd integer, the result is -∞.
  • -
  • If _base_ is -∞ and _exponent_ > 0 and _exponent_ is not an odd integer, the result is +∞.
  • -
  • If _base_ is -∞ and _exponent_ < 0 and _exponent_ is an odd integer, the result is -0.
  • -
  • If _base_ is -∞ and _exponent_ < 0 and _exponent_ is not an odd integer, the result is +0.
  • +
  • If abs(_base_) > 1 and _exponent_ is *+∞*, the result is *+∞*.
  • +
  • If abs(_base_) > 1 and _exponent_ is *-∞*, the result is +0.
  • +
  • If abs(_base_) is 1 and _exponent_ is *+∞*, the result is *NaN*.
  • +
  • If abs(_base_) is 1 and _exponent_ is *-∞*, the result is *NaN*.
  • +
  • If abs(_base_) < 1 and _exponent_ is *+∞*, the result is +0.
  • +
  • If abs(_base_) < 1 and _exponent_ is *-∞*, the result is *+∞*.
  • +
  • If _base_ is *+∞* and _exponent_ > 0, the result is *+∞*.
  • +
  • If _base_ is *+∞* and _exponent_ < 0, the result is +0.
  • +
  • If _base_ is *-∞* and _exponent_ > 0 and _exponent_ is an odd integer, the result is *-∞*.
  • +
  • If _base_ is *-∞* and _exponent_ > 0 and _exponent_ is not an odd integer, the result is *+∞*.
  • +
  • If _base_ is *-∞* and _exponent_ < 0 and _exponent_ is an odd integer, the result is -0.
  • +
  • If _base_ is *-∞* and _exponent_ < 0 and _exponent_ is not an odd integer, the result is +0.
  • If _base_ is +0 and _exponent_ > 0, the result is +0.
  • -
  • If _base_ is +0 and _exponent_ < 0, the result is +∞.
  • +
  • If _base_ is +0 and _exponent_ < 0, the result is *+∞*.
  • If _base_ is -0 and _exponent_ > 0 and _exponent_ is an odd integer, the result is -0.
  • If _base_ is -0 and _exponent_ > 0 and _exponent_ is not an odd integer, the result is +0.
  • -
  • If _base_ is -0 and _exponent_ < 0 and _exponent_ is an odd integer, the result is -∞.
  • -
  • If _base_ is -0 and _exponent_ < 0 and _exponent_ is not an odd integer, the result is +∞.
  • +
  • If _base_ is -0 and _exponent_ < 0 and _exponent_ is an odd integer, the result is *-∞*.
  • +
  • If _base_ is -0 and _exponent_ < 0 and _exponent_ is not an odd integer, the result is *+∞*.
  • If _base_ < 0 and _base_ is finite and _exponent_ is finite and _exponent_ is not an integer, the result is *NaN*.
  • From 11acf215371a4e34ed7f009a6a9256079ba5d895 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Sun, 7 Feb 2016 20:44:36 -0500 Subject: [PATCH 3/3] Properly title-case the clause title ... ... "Applying the `**` operator" --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index af9f8643b3..7751ef8a7c 100644 --- a/spec.html +++ b/spec.html @@ -12770,7 +12770,7 @@

    Applying the `%` Operator

    -

    Applying the `**` operator

    +

    Applying the `**` Operator

    Returns an implementation-dependent approximation of the result of raising _base_ to the power _exponent_.