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.
2 parents 607240c + cc5ea62 commit 9d9ab3dCopy full SHA for 9d9ab3d
1 file changed
Doc/library/math.rst
@@ -215,6 +215,10 @@ Power and logarithmic functions
215
``x`` is negative, and ``y`` is not an integer then ``pow(x, y)``
216
is undefined, and raises :exc:`ValueError`.
217
218
+ Unlike the built-in ``**`` operator, :func:`math.pow` converts both
219
+ its arguments to type :class:`float`. Use ``**`` or the built-in
220
+ :func:`pow` function for computing exact integer powers.
221
+
222
223
.. function:: sqrt(x)
224
0 commit comments