#4632: .roots(ring=QQbar) fails for polynomials with enormous (rational)
coefficients
-----------------------+----------------------------------------------------
Reporter: cwitty | Owner: cwitty
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.1
Component: numerical | Keywords:
-----------------------+----------------------------------------------------
{{{
sage:
QQ['x']([-1574806689856485203713606790878806324846144211919939275932838223695235514282561297210584228295501990367896802287219614615718592306790806998478594573136498271898097227253339508472806599150574830973085668693785410871971313394976319704438483766679073615090307688071361570760253069748188250790686216116761641028997571981684497151720169056998220786278540994912669786651060910653545724175382042083495315866044137120083382859756320538222167370892414005604562057485506805590016305081667636242948134404040973531913166015302665956067878096607378584971478359783801542379092931747436523437500000000,
-193515932916412990666476999904798981838783908664420988959823642066771192557156670863359708607729027554054703175272513097505138750681648289302786055327661244638666946766701871248492974002783633284663059534277050056388430626073123883006035020112991320833380652459040398248733202585248419694781102412345882087960535667042197701263875700609785583388094437490661697529942850974637145614502894865563658714889959149063444714656791303142632425977864052679698255996045239095634437997573963962429956870293270111083984375000000000,
83170608189851115406174052156020720006391221141822354139926261428103839206727940911499007309157560650324863068691249192581307931920254125633191130600449087349613636925163088513950945582369917075355210785440126887558346533726356989539553338506358560310306102959778069177179372222395037680173799313526664796809377865459533346598769484352028174469530113441058554304204590311274377428022769589018439585016413933419001103744044069987352241516113281250000000,
30780596844236145136671266066720159143772212705756140218160846382486086875917672569425439369657418375595991121876711014161905477956619986681576758421169748750674431330473384186475201251946484719689348800350470917022367299090454906257957127467247749613559761631288914151049175625483137995463393355067411691507776830072699817727104023701041344647669946847730352298451503906250000000000,
16837026080764386677826809963409589901906832169336314656090773268188533369173850472410642832904824882464821987940061157426041992904344896272244589245797112816182726139239310057740408111797911631913842732844850790967905084066195716939266674597632685094885825488090255475873154607960411323906396752521370605468750000,
-1365036509706117570424076690021366855689949499827289827648200295899402739643890697790041978512460641225637590846458966227951950685833117543434624092525726218602560944878937528961934417330262388045264194813781102290993624145466462548468750000000,
853919457548839876430168021909087781068317609391760063848644003134545234791873702174757609333087463220123407683312737467402827289609877170673058467072926232858501013240625000,
-889338579731123657300335367085196101945031228837229710956291192569000704051567165879290393195000,
1]).roots(QQbar)
}}}
fails because it tries to use numpy to find the roots of a polynomial
where some coefficients are floating-point infinity.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4632>
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
-~----------~----~----~----~------~----~------~--~---