REPOST: Is this a bug?

Gilbert blessed at mail.com
Fri Dec 28 21:57:08 EST 2001


Hi!

I am wondering if the following results below imply any bug in Python
2.2 or 2.1?
When I try to use float numbers, python 2.2 and 2.1.1 shows a little
bit different results (I think it is incorrect) from what I enter. 
But python 1.5.2 seems to be okay?  What is wrong?

If you know why and how they are different, please let me know.

Thanks!

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

Python 2.2 (#1, Dec 23 2001, 09:30:32) 
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 653.34
653.34000000000003
>>>

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

Python 1.5.2 (#1, Oct 13 2001, 09:06:03)  [GCC 2.96 20000731 (Red Hat
Linux 7.1 2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> 653.34
653.34
>>>

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

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool1-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: blessed at mail.com (Gilbert)
Newsgroups: comp.lang.python
Subject: cmsg cancel <33e9b770.0112281857.563a36d4 at posting.google.com>
Control: cancel <33e9b770.0112281857.563a36d4 at posting.google.com>
Date: Mon, 31 Dec 2001 03:42:27 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.33e9b770.0112281857.563a36d4 at posting.google.com>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774904 27193 211.57.49.2 (31 Dec 2001 05:01:44 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 05:01:44 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.



More information about the Python-list mailing list