We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7353470 commit 8e12d53Copy full SHA for 8e12d53
1 file changed
peps/pep-0812.rst
@@ -368,7 +368,7 @@ For complex multiplication [8]_:
368
z * w = w * z
369
(-z) * w = -(z * w)
370
371
-- if one operand is an infinity and the other operand is a nonzero finite
+- if one operand is an infinity [9]_ and the other operand is a nonzero finite
372
number or an infinity, then the result is an infinity.
373
374
For division:
@@ -688,6 +688,11 @@ Footnotes
688
>>> mul3(w, z)
689
(inf+infj)
690
691
+.. [9] A complex value with at least one infinite part is regarded as an
692
+ infinity (even if its other part is a NaN). A complex value is a finite
693
+ number if each of its parts is a finite number (neither infinite nor NaN).
694
+ A complex value is a zero if each of its parts is a zero.
695
+
696
697
Copyright
698
=========
0 commit comments