File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1561,7 +1561,9 @@ are always available. They are listed here in alphabetical order.
1561
1561
returns ``100 ``, but ``pow(10, -2) `` returns ``0.01 ``. For a negative base of
1562
1562
type :class: `int ` or :class: `float ` and a non-integral exponent, a complex
1563
1563
result is delivered. For example, ``pow(-9, 0.5) `` returns a value close
1564
- to ``3j ``.
1564
+ to ``3j ``. Whereas, for a negative base of type :class: `int ` or :class: `float `
1565
+ with an integral exponent, a float result is delivered. For example,
1566
+ ``pow(-9, 2.0) `` returns ``81.0 ``.
1565
1567
1566
1568
For :class: `int ` operands *base * and *exp *, if *mod * is present, *mod * must
1567
1569
also be of integer type and *mod * must be nonzero. If *mod * is present and
You can’t perform that action at this time.
0 commit comments