Re: [Python-Dev] Comparing heterogeneous types
June 2, 2004
5:40 p.m.
On Wed, Jun 02, 2004 at 08:36:47PM -0400, Tim Peters wrote:
[Jeff Epler]
Oh -- there are some floats f for which float(long(f)) raises an OverflowError in float()?
No, at least not unless the machine has very strange arithmetic. For an IEEE box, [...]
Thanks. I re-read the message I was replying to, and now I see the problem with the code I proposed. I just didn't get it the first time. Jeff
7533
Age (days ago)
7533
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeff Epler