[ python-Bugs-900494 ] win shell interpreter error (arithmetic)

SourceForge.net noreply at sourceforge.net
Thu Feb 19 13:37:37 EST 2004


Bugs item #900494, was opened at 2004-02-19 19:23
Message generated for change (Comment added) made by theller
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900494&group_id=5470

Category: Python Interpreter Core
Group: Not a Bug
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Mark Okamura (hillvillage)
Assigned to: Nobody/Anonymous (nobody)
Summary: win shell interpreter error (arithmetic)

Initial Comment:
In a shell (2.2.2)  running on Win2k, the numeric
answer to ".090 + .15" is incorrect. Instead of .240
the shell returns .2399999999999999...

----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2004-02-19 19:37

Message:
Logged In: YES 
user_id=11105

This is not a bug - see
<http://www.python.org/doc/current/tut/node15.html#SECTION0015100000000000000000>

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2004-02-19 19:37

Message:
Logged In: YES 
user_id=31435

Not a bug; read the tutorial appendix:

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



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900494&group_id=5470



More information about the Python-bugs-list mailing list