#5689: [with patch; needs review] hitting control c while computing pi results 
in
wrong answers later
------------------------------+---------------------------------------------
 Reporter:  was               |       Owner:  somebody  
     Type:  defect            |      Status:  new       
 Priority:  major             |   Milestone:  sage-3.4.1
Component:  basic arithmetic  |    Keywords:            
------------------------------+---------------------------------------------

Comment(by was):

 I wrote code to fix this problem in this case.  The following testing
 code, which I wrote, does not work.  I'm recording it here for posterity:

 {{{
         TESTS::

         We check that trac 5689 is fixed:
             sage: alarm(1); RealField(10^6).pi()
             Traceback (most recent call last):
             ...
             KeyboardInterrupt: computation timed out because alarm was set
 for 1 seconds
             sage: RealField(10^3).pi()
 
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127
 }}}

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