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.

Author arkoenig
Recipients
Date 2002-02-06.18:33:25
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Comparing a float and a long appears to convert the 
long to float and then compare the two floats.  This 
strategy is a problem because the conversion might 
lose precision.  As a result, == is not an equivalence 
relation and < is not an order relation.  For example, 
it is possible to create three numbers a, b, and c 
such that a==b, b==c, and a!=c.
History
Date User Action Args
2007-08-23 13:59:07adminlinkissue513866 messages
2007-08-23 13:59:07admincreate