[New-bugs-announce] [issue39525] math.remainder() give wrong answer on large integer

David Hwang report at bugs.python.org
Sun Feb 2 00:10:48 EST 2020


New submission from David Hwang <hungry4grace at gmail.com>:

These two numbers are off by 1, and so should give different answer to
>>> math.remainder(12345678901234567890,3)
1.0
>>> math.remainder(12345678901234567891,3)
1.0

----------
components: Library (Lib)
messages: 361211
nosy: David Hwang
priority: normal
severity: normal
status: open
title: math.remainder() give wrong answer on large integer
type: behavior
versions: Python 3.8

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


More information about the New-bugs-announce mailing list