Skip to content

Commit e3fc9c4

Browse files
authored
deprecated.xml Remove the extra parentheses (#4021)
1 parent e431fa5 commit e3fc9c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appendices/migration84/deprecated.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ function foo(T1 $a, ?T2 $b, T3 $c) {}
8585
Raising a number to the power of a negative number is equivalent to taking
8686
the reciprocal of the number raised to the positive opposite of the power.
8787
That is, <literal>10<superscript>-2</superscript></literal> is the same as
88-
<literal>1 / (10<superscript>2</superscript>)</literal>.
88+
<literal>1 / 10<superscript>2</superscript></literal>.
8989
Therefore raising <literal>0</literal> to the power of a negative number
9090
corresponds to dividing by <literal>0</literal>, i.e.
9191
<literal>0<superscript>-2</superscript></literal> is the same as
92-
<literal>1 / (0<superscript>2</superscript>)</literal>, or
92+
<literal>1 / 0<superscript>2</superscript></literal>, or
9393
<literal>1 / 0</literal>. Thus, this behavior has been deprecated.
9494
</simpara>
9595

0 commit comments

Comments
 (0)