#12968: round of symbolic expression (precision issue due to RR)
--------------------------------------------------------+-------------------
       Reporter:  dkrenn                                |         Owner:  
burcin       
           Type:  defect                                |        Status:  
needs_review 
       Priority:  major                                 |     Milestone:  
sage-5.1     
      Component:  symbolics                             |    Resolution:        
       
       Keywords:  round symbolic precision RR beginner  |   Work issues:        
       
Report Upstream:  N/A                                   |     Reviewers:  
Burcin Erocal
        Authors:  Mike Hansen                           |     Merged in:        
       
   Dependencies:                                        |      Stopgaps:        
       
--------------------------------------------------------+-------------------

Comment (by mhansen):

 Replying to [comment:6 burcin]:
 > Just by reading the code, I have one minor problem: Isn't the test `self
 > 0` too costly if the expression still contains variables? Maybe we
 should convert to `RR` first and do the comparison there

 Maybe you could try converting to RIF first instead and then do the full
 test if that interval contains zero.  Checking to see if there are
 variables should also be really quick.  I'll put up a patch that does
 this.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12968#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