[issue24059] Minor speed and readability improvement to the random module
Serhiy Storchaka
report at bugs.python.org
Sat Apr 25 17:47:19 CEST 2015
Serhiy Storchaka added the comment:
sqrt(x) and x ** 0.5 can be different.
>>> 0.0171889575379941**0.5
0.13110666473522276
>>> sqrt(0.0171889575379941)
0.13110666473522273
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24059>
_______________________________________
More information about the Python-bugs-list
mailing list