[issue10596] modulo operator bug
Сергей Хлутчин
report at bugs.python.org
Wed Dec 1 12:53:19 CET 2010
New submission from Сергей Хлутчин <sercxjo at gmail.com>:
Result of the modulo operator is wrong:
>>> (-2.22044604925e-16)%4
4.0
>>> (-4.0)%4
-0.0
----------
messages: 122991
nosy: Sergio.Ĥlutĉin
priority: normal
severity: normal
status: open
title: modulo operator bug
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10596>
_______________________________________
More information about the Python-bugs-list
mailing list