float("nan") in set or as key

Ben Finney ben+python at benfinney.id.au
Sat Jun 4 06:20:19 EDT 2011


Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> What makes you think that Python supports IEEE-754 for floats?

That would be an easy impression to get from this long rambling thread.
The argument that Python's ‘float’ type is not meant to be anything
*but* an IEEE 754 floating point type has been made several times.
What would you say Python's ‘float’ type is intended to be, if not an
IEEE 754 floating point type?
-- 
 \ “Most people, I think, don't even know what a rootkit is, so |
 `\ why should they care about it?” —Thomas Hesse, Sony BMG, 2006 |
_o__) |
Ben Finney


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /