New submission from Ivan <ivan.babic...@gmail.com>:
I've started to learn python and tried command: print(-2.989 + 2) it gives me result of -0.9889999999999999 same error can be observed with numbers from 4 and below like: print(-2.989 + 4) 1.0110000000000001 print(-2.989 + 3) 0.01100000000000012 print(-2.989 + 1) -1.9889999999999999 Numbers above 4 seam to work fine ---------- components: Windows files: python error.jpg messages: 373465 nosy: Svabo, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Wrong subtraction calculations type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file49313/python error.jpg _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41269> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com