[New-bugs-announce] [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

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>

More information about the New-bugs-announce mailing list