[ python-Bugs-884598 ] floating point precission

SourceForge.net noreply at sourceforge.net
Mon Jan 26 10:40:18 EST 2004


Bugs item #884598, was opened at 2004-01-26 02:59
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=884598&group_id=5470

Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Johan Burati (jburati)
Assigned to: Nobody/Anonymous (nobody)
Summary: floating point precission

Initial Comment:
I was just trying out Python when I noticed this,
I have checked but could not see any reference to this 
bug:

Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC 
v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more 
information.
>>> tax = 5.0 / 100
>>> tax
0.050000000000000003

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

Comment By: George Yoshida (quiver)
Date: 2004-01-26 04:06

Message:
Logged In: YES 
user_id=671362

Please see the tutorial.
There's a chapter on "Floating Point Arithmetic".
http://www.python.org/doc/2.3.3/tut/node15.html

This is a feature, not a bug.

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

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



More information about the Python-bugs-list mailing list