New submission from wjzbf <hgkdz...@163.com>:
hello python, when i calculate: 151476660579404160000-151476660579404160000//1000000007 * (1e9+7) it returns 67534848.0 when i calculate 151476660579404160000 % (1e9+7) it returns 67536199.0 the two values are not equal. how to explain it? thanks zbf ---------- components: Windows messages: 362574 nosy: paul.moore, steve.dower, tim.golden, wjzbf, zach.ware priority: normal severity: normal status: open title: mod operation with large number is not correct. type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39738> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com