[issue41458] Avoid overflow/underflow in math.prod()

Pablo Galindo Salgado report at bugs.python.org
Mon Aug 3 13:45:19 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

I think what Raymond proposes makes sense and it will certainly add value, especially given the mentioned expectations on what an implementation on the stdlib should have. The only think I would like to know is how much code/measured performance impact this will have. I expect this not to be a problem but I think is an important factor to help us decide.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41458>
_______________________________________


More information about the Python-bugs-list mailing list