On Jan 15, 10:32 pm, Kate <[EMAIL PROTECTED]> wrote:
> Michael,

Hi Kate,

> sage-2.10.alpha3 fails one test (polynomial_element.pyx) on
> both
>   x86-Linux (pentium4-fc6)
>   x86_64-Linux (Opteron-fc6)
>
> Both were built using gcc-4.2.2
>
> Details follow.
>
> Kate
>
> ******
> x86-Linux
> ******
>
> sage -t  devel/sage-main/sage/rings/polynomial/
> polynomial_element.pyx**********************************************************************
> File "polynomial_element.pyx", line 2549:
>     sage: f.roots(multiplicities=False)
> Expected:
>     [...1.00000000000000...*I, 1.00000000000000...*I]
> Got:
>     [1.00000000000000 + 1.11022302462516e-16*I, 1.12045416424138e-16 +
> 1.00000000000000*I]
> **********************************************************************

This is now #1791 - but it looks like there is no way for this
particular example to really doctest anything. I might make this
#random until we can come up with a numerically more stable doctest.

> *****
> x86_64-Linux
> *****
>
> sage -t  devel/sage-main/sage/rings/polynomial/
> polynomial_element.pyx**********************************************************************
> File "polynomial_element.pyx", line 2644:
>     sage: p.roots(ring=ComplexIntervalField(200))
> Expected:
>
> [([1.1673039782614186842560458998548421807205603715254890391400816 ..
> 1.1673039782614186842560458998548421807205603715254890391400829], 1),
> ([0.18123244446987538390180023778112063996871646618462304743773153 ..
> 0.18123244446987538390180023778112063996871646618462304743773341] +
> [1.0839541013177106684303444929807665742736402431551156543011306 ..
> 1.0839541013177106684303444929807665742736402431551156543011344]*I,
> 1),
> ([0.18123244446987538390180023778112063996871646618462304743773153 ..
> 0.18123244446987538390180023778112063996871646618462304743773341] -
> [1.0839541013177106684303444929807665742736402431551156543011306 ..
> 1.0839541013177106684303444929807665742736402431551156543011344]*I,
> 1),
> ([-0.76488443360058472602982318770854173032899665194736756700777454 ..
> -0.76488443360058472602982318770854173032899665194736756700777...] +
> [0.35247154603172624931794709140258105439420648082424733283769... ..
> 0.35247154603172624931794709140258105439420648082424733283769...]*I,
> 1),
> ([-0.76488443360058472602982318770854173032899665194736756700777454 ..
> -0.764884433600584726029823187708541730328996651947367567007772...] -
> [0.352471546031726249317947091402581054394206480824247332837691... ..
> 0.35247154603172624931794709140258105439420648082424733283769341]*I,
> 1)]
> Got:
>
> [([1.1673039782614186842560458998548421807205603715254890391400816 ..
> 1.1673039782614186842560458998548421807205603715254890391400829], 1),
> ([0.18123244446987538390180023778112063996871646618462304743773153 ..
> 0.18123244446987538390180023778112063996871646618462304743773341] +
> [1.0839541013177106684303444929807665742736402431551156543011306 ..
> 1.0839541013177106684303444929807665742736402431551156543011344]*I,
> 1),
> ([0.18123244446987538390180023778112063996871646618462304743773153 ..
> 0.18123244446987538390180023778112063996871646618462304743773341] -
> [1.0839541013177106684303444929807665742736402431551156543011306 ..
> 1.0839541013177106684303444929807665742736402431551156543011344]*I,
> 1),
> ([-0.76488443360058472602982318770854173032899665194736756700777516 ..
> -0.76488443360058472602982318770854173032899665194736756700777204] +
> [0.35247154603172624931794709140258105439420648082424733283769091 ..
> 0.35247154603172624931794709140258105439420648082424733283769372]*I,
> 1),
> ([-0.76488443360058472602982318770854173032899665194736756700777454 ..
> -0.76488443360058472602982318770854173032899665194736756700777204] -
> [0.35247154603172624931794709140258105439420648082424733283769091 ..
> 0.35247154603172624931794709140258105439420648082424733283769372]*I,
> 1)]
> **********************************************************************
> File "polynomial_element.pyx", line 2666:
>     sage: p.roots(ring=CIF)
> Expected:
>     [([-1.4142135623730952 .. -1.4142135623730949], 1),
> ([1.4142135623730949 .. 1.4142135623730952], 1),
> ([-1.2146389322441827 .. -1.2146389322441821] -
> [0.1414250525823937... .. 0.1414250525823939...]*I, 2),
> ([-0.141425052582393... .. -0.14142505258239376] +
> [1.2146389322441821 .. 1.2146389322441827]*I, 2),
> ([0.141425052582393... .. 0.141425052582393...] -
> [1.2146389322441821 .. 1.2146389322441827]*I, 2),
> ([1.2146389322441821 .. 1.2146389322441827] + [0.14142505258239376 ..
> 0.14142505258239399]*I, 2)]
> Got:
>     [([-1.4142135623730952 .. -1.4142135623730949], 1),
> ([1.4142135623730949 .. 1.4142135623730952], 1),
> ([-1.2146389322441827 .. -1.2146389322441821] -
> [0.14142505258239373 .. 0.14142505258239397]*I, 2),
> ([-0.14142505258239397 .. -0.14142505258239373] +
> [1.2146389322441821 .. 1.2146389322441827]*I, 2),
> ([0.14142505258239376 .. 0.14142505258239397] - [1.2146389322441821 ..
> 1.2146389322441827]*I, 2), ([1.2146389322441821 .. 1.2146389322441827]
> + [0.14142505258239376 .. 0.14142505258239399]*I, 2)]
> **********************************************************************

This is now #1790 - and easy enough to fix. I should have a patch in a
couple minutes. Thanks for the reports.

Cheers,

Michael

--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to