#4723: [with patch, with positive review] Infinite precision increase finding
roots over QQbar
---------------------------------------------+------------------------------
 Reporter:  ncalexan                         |        Owner:  was     
     Type:  defect                           |       Status:  closed  
 Priority:  major                            |    Milestone:  sage-3.3
Component:  number theory                    |   Resolution:  fixed   
 Keywords:  precision qqbar algebraic roots  |  
---------------------------------------------+------------------------------
Comment (by mabshoff):

 Note that I had to apply the following patch to quiet some numerical noise
 on sage.math"
 {{{
 diff -r 364557890854 sage/rings/polynomial/complex_roots.py
 --- a/sage/rings/polynomial/complex_roots.py    Sat Jan 17 13:54:17 2009
 -0800
 +++ b/sage/rings/polynomial/complex_roots.py    Sun Jan 18 08:24:19 2009
 -0800
 @@ -268,7 +268,7 @@
          sage: complex_roots(x^5 - x - 1)
          [(1.167303978261419?, 1), (0.181232444469876? +
 1.083954101317711?*I, 1), (0.181232444469876? - 1.083954101317711?*I, 1),
 (-0.764884433600585? + 0.352471546031727?*I, 1), (-0.764884433600585? -
 0.352471546031727?*I, 1)]
          sage: complex_roots(x^2 + 27*x + 181)
 -        [(-14.61803398874990?, 1), (-12.38196601125010? + 0.?e-27*I, 1)]
 +        [(-14.61803398874990?..., 1), (-12.38196601125010? + 0.?e-27*I,
 1)]

          sage: K.<im> = NumberField(x^2 + 1)
          sage: eps = 1/2^100
 }}}

 Cheers,

 Michael

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