[Python-Dev] Caching float(0.0)
"Martin v. Löwis"
martin at v.loewis.de
Wed Oct 4 21:14:46 CEST 2006
Alastair Houghton schrieb:
> AFAIK few systems have floating point traps enabled by default (in fact,
> isn't that what IEEE 754 specifies?), because they often aren't very
> useful. And in the specific case of the Python interpreter, why would
> you ever want them turned on?
That reasoning is irrelevant. If it breaks a few systems, that already
is some systems too many. Python should never crash; and we have no
control over the floating point exception handling in any portable
manner.
Regards,
Martin
More information about the Python-Dev
mailing list