[Python-Dev] Caching float(0.0) (original) (raw)

skip at pobox.com skip at pobox.com
Tue Oct 3 19:37:49 CEST 2006


Martin> However, it is certainly a change to the observable behavior of
Martin> the Python implementation, and no amount of arguing can change
Martin> that.

If C90 doesn't distinguish -0.0 and +0.0, how can Python? Can you give a simple example where the difference between the two is apparent to the Python programmer?

Skip



More information about the Python-Dev mailing list