[issue26324] sum() incorrect on negative zeros

Antoine Pitrou report at bugs.python.org
Tue Feb 9 19:08:02 EST 2016


New submission from Antoine Pitrou:

>>> sum([-0.0,-0.0])
0.0

----------
components: Interpreter Core
messages: 259961
nosy: eric.smith, lemburg, mark.dickinson, pitrou, stutzbach
priority: low
severity: normal
status: open
title: sum() incorrect on negative zeros
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26324>
_______________________________________


More information about the Python-bugs-list mailing list