#12149: float('nan')>1 crashes Sage.
--------------------------------+-------------------------------------------
   Reporter:  was               |          Owner:  AlexGhitza   
       Type:  defect            |         Status:  needs_review 
   Priority:  critical          |      Milestone:  sage-4.8     
  Component:  basic arithmetic  |       Keywords:               
Work_issues:                    |       Upstream:  N/A          
   Reviewer:                    |         Author:  William Stein
     Merged:                    |   Dependencies:               
--------------------------------+-------------------------------------------

Comment(by SimonKing):

 Replying to [comment:6 jdemeyer]:
 > Replying to [comment:5 SimonKing]:
 > > Hence, using sigon/sigoff seems the wrong thing to do
 > Within Cython code, sig_on/sig_off is '''never''' the wrong thing to do.

 OK, let me rephrase it: It is wrong to use sig_on/sig_off in comparison
 code without "try-except". And, if I am not mistaken, "try-except" adds
 another small overhead. I presume that comparison occurs very frequently
 in many applications, and thus I'd go for speed.

 That's to say: We should test both versions, William's and the "try-sigon-
 sigoff-except" version, and compare timings.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12149#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to