[Python-Dev] Comparing heterogeneous types
jepler at unpythonic.net
Wed Jun 2 20:40:51 EDT 2004
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20040602/a7c20cfb/attachment.bin
More information about the Python-Dev