[issue42907] Division betwen float and 100 not giving corect result

2021-01-12 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42907] Division betwen float and 100 not giving corect result

2021-01-12 Thread Dimo Yordanov
Dimo Yordanov added the comment: understandable. have a great day -- components: -Interpreter Core resolution: not a bug -> status: closed -> open versions: -Python 3.7 ___ Python tracker

[issue42907] Division betwen float and 100 not giving corect result

2021-01-12 Thread Christian Heimes
Christian Heimes added the comment: This is the expected behavior for float. Python's floats are IEEE 754 double precision floats, not arbitrary preciscion floats. See https://docs.python.org/3/tutorial/floatingpoint.html -- nosy: +christian.heimes resolution: -> not a bug stage: -

[issue42907] Division betwen float and 100 not giving corect result

2021-01-12 Thread Dimo Yordanov
Dimo Yordanov added the comment: And it appears that these are the only numbers (2.8 and 2.7) that behave like this -- ___ Python tracker ___

[issue42907] Division betwen float and 100 not giving corect result

2021-01-12 Thread Dimo Yordanov
New submission from Dimo Yordanov : To replicate what i think is a bug you need a python interpreter in any version. I think. When i type 2.7/100 it returns 0.027003, but it actually is 0.027 and 2.8/100 returns 0.027997. And i don't know why -- components: Int