[issue31365] Multiplication issue with 16.1

2017-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Also, IDLE wraps Python and is not responsible for what Python calculates. -- assignee: terry.reedy -> ___ Python tracker ___ _

[issue31365] Multiplication issue with 16.1

2017-09-06 Thread Julie
Julie added the comment: Thank you Martin, makes sense now that I have read the documentation. Julie -- ___ Python tracker ___ ___ Pyt

[issue31365] Multiplication issue with 16.1

2017-09-06 Thread Martin Panter
Martin Panter added the comment: The floating-point numbers are only accurate to about 16 digits. You probably just found a value that cannot be exactly represented. https://docs.python.org/3.3/faq/design.html#why-are-floating-point-calculations-so-inaccurate -- nosy: +martin.panter re

[issue31365] Multiplication issue with 16.1

2017-09-06 Thread Julie
New submission from Julie: Multipy 16.1 by 100 or 1000 returns a result to 13 decimal places. See example - >>> 16.2*1000 16200.0 >>> 16.1*1000 16100.0002 >>> 16.1*100 1610.2 >>> 16.1*10 161.0 >>> 16.2*1000 16200.0 -- assignee: terry.reedy components: IDLE messages