[issue15438] Incredible issue in math.pow
andrea bergamini
report at bugs.python.org
Tue Jul 24 14:18:41 CEST 2012
andrea bergamini <andrea.bergamini.it at gmail.com> added the comment:
Ok, but math.pow IMPO has to be aligned to pow and built-in pow (**), otherwise this kind of "inaccuracies" can compromise the application behavior. I was using this funcion in a cryptographic mechanisms, and this issue resulted in a failure.
Generally speaking, integer numbers should not be affected by inaccuracies. I mean, there's no floating point.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15438>
_______________________________________
More information about the Python-bugs-list
mailing list