On Thursday, March 10, 2016 at 3:25:00 PM UTC+1, kcrisman wrote:
>
> I agree on IEEE, but I am curious why Python floats don't conform? 
>

IEEE doesn't raise errors because most common CPUs have no special support 
for that. Neither does C have a good way of dealing with exceptions. The 
only high-performance option is use inf/nan and carry these exceptional 
values through the computation.

Python's floats are slow anyways, and Python error handling is designed 
around raising exceptions. So its a reasonable design choice to just add an 
explicit check for division by zero, for example.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to