In working on #2898, I discovered that for Python, int(NaN) is 0.  Using 
RR and Integer (properly, in my opinion) throws an exception for 
Integer(RR(0.0/0.0)).

For RDF, should we make special cases for an RDF that is NaN when doing 
operations that involve converting to an integer?  Or, in the interest 
of speed, should we just follow the Python convention?

Jason



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to