#4623: [with patch, positive review] x^2 is wrong in RealIntervalField
------------------------------+---------------------------------------------
 Reporter:  zimmerma          |        Owner:  somebody  
     Type:  enhancement       |       Status:  new       
 Priority:  major             |    Milestone:  sage-3.4.1
Component:  basic arithmetic  |   Resolution:            
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by zimmerma):

 thanks Alex for your review. I was not aware of x.square(). Then probably
 we should replace
 xq * xq by xq.square() in my patch:
 {{{
 sage: x=RealIntervalField(53)((-e,pi))
 sage: %timeit x.square()
 1000000 loops, best of 3: 769 ns per loop
 sage: %timeit (x * x)
 1000000 loops, best of 3: 948 ns per loop
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4623#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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