[issue33657] float addition rounding error

2018-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: The math hasn't changed. The underlying values haven't changed. What did change what that the __str__ now displays to full precision. Formerly, it used to display a rounded result that didn't reflect the actual stored value. $ python2.7 Python 2.7.15 (v

[issue33657] float addition rounding error

2018-05-26 Thread voidptr
New submission from voidptr : help in python 3.6.5 z = 1787.4 + 6.2 gives me z = 1793.6001 in python 2.7.15 gives z = 1793.6 I dont want explicitly round float thing every time so I went back to 2.7.15 -- components: Interpreter Core messages: 317779 nosy: voidptr priorit

[issue33657] float addition rounding error

2018-05-26 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt