This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: win shell interpreter error (arithmetic)
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: hillvillage, theller, tim.peters
Priority: normal Keywords:

Created on 2004-02-19 18:23 by hillvillage, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pybug.jpg hillvillage, 2004-02-19 18:23 win2k python shell numeric bug screen shot
Messages (4)
msg20055 - (view) Author: Mark Okamura (hillvillage) Date: 2004-02-19 18:23
In a shell (2.2.2)  running on Win2k, the numeric
answer to ".090 + .15" is incorrect. Instead of .240
the shell returns .2399999999999999...
msg20056 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2004-02-19 18:37
Logged In: YES 
user_id=31435

Not a bug; read the tutorial appendix:

http://www.python.org/doc/current/tut/node15.html

msg20057 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2004-02-19 18:37
Logged In: YES 
user_id=11105

This is not a bug - see
<http://www.python.org/doc/current/tut/node15.html#SECTION0015100000000000000000>
msg20058 - (view) Author: Mark Okamura (hillvillage) Date: 2004-02-19 18:47
Logged In: YES 
user_id=979565

I stand corrected. Should have read the tutorial
(completely). Thanks for the responses.
History
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39950
2004-02-19 18:23:19hillvillagecreate