Thanks to visit codestin.com Credit goes to github.com
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 ad17bc0 commit 739d549Copy full SHA for 739d549
1 file changed
Doc/library/math.rst
@@ -202,6 +202,10 @@ Power and logarithmic functions
202
``x`` is negative, and ``y`` is not an integer then ``pow(x, y)``
203
is undefined, and raises :exc:`ValueError`.
204
205
+ Unlike the built-in ``**`` operator, :func:`math.pow` converts both
206
+ its arguments to type :class:`float`. Use ``**`` or the built-in
207
+ :func:`pow` function for computing exact integer powers.
208
+
209
210
.. function:: sqrt(x)
211
0 commit comments