#5172: Sage 3.3.a5: more numerical noise in sage/calculus/calculus.py
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |        Owner:  mabshoff
     Type:  defect    |       Status:  new     
 Priority:  blocker   |    Milestone:  sage-3.3
Component:  doctest   |   Resolution:          
 Keywords:            |  
----------------------+-----------------------------------------------------
Old description:

> See on cicero:
> {{{
> sage -t -long "devel/sage/sage/calculus/calculus.py"
> **********************************************************************
> File
> "/home/mabshoff/build-3.3.alpha5/sage-3.3.alpha5-cicero/devel/sage/sage/calculus/calculus.py",
> line 3206:
>     sage: f.roots(ring=CC)
> Expected:
>     [(-0.0588115223184495, 1), (-1.331099917875... - 1.52241655183732*I,
> 1), (-1.33109991787579 + 1.52241655183732*I, 1), (1.36050567903502 -
> 1.51880872209965*I, 1), (1.36050567903502 + 1.51880872209965*I, 1)]
> Got:
>     [(-0.0588115223184495, 1), (-1.33109991787580 - 1.52241655183732*I,
> 1), (-1.33109991787580 + 1.52241655183732*I, 1), (1.36050567903502 -
> 1.51880872209965*I, 1), (1.36050567903502 + 1.51880872209965*I, 1)]
> **********************************************************************
> File
> "/home/mabshoff/build-3.3.alpha5/sage-3.3.alpha5-cicero/devel/sage/sage/calculus/calculus.py",
> line 3210:
>     sage: f.roots(ring=CC, multiplicities=False)
> Expected:
>     [-0.0588115223184495, -1.331099917875... - 1.52241655183732*I,
> -1.33109991787579 + 1.52241655183732*I, 1.36050567903502 -
> 1.51880872209965*I, 1.36050567903502 + 1.51880872209965*I]
> Got:
>     [-0.0588115223184495, -1.33109991787580 - 1.52241655183732*I,
> -1.33109991787580 + 1.52241655183732*I, 1.36050567903502 -
> 1.51880872209965*I, 1.36050567903502 + 1.51880872209965*I]
> **********************************************************************
> }}}

New description:

 See on cicero:
 {{{
 sage -t -long "devel/sage/sage/calculus/calculus.py"
 **********************************************************************
 File
 
"/home/mabshoff/build-3.3.alpha5/sage-3.3.alpha5-cicero/devel/sage/sage/calculus/calculus.py",
 line 3206:
     sage: f.roots(ring=CC)
 Expected:
     [(-0.0588115223184495, 1), (-1.331099917875... -
 1.52241655183732*I, 1), (-1.33109991787579 + 1.52241655183732*I,
 1), (1.36050567903502 - 1.51880872209965*I, 1), (1.36050567903502 +
 1.51880872209965*I, 1)]
 Got:
     [(-0.0588115223184495, 1), (-1.33109991787580 -
 1.52241655183732*I, 1), (-1.33109991787580 + 1.52241655183732*I,
 1), (1.36050567903502 - 1.51880872209965*I, 1), (1.36050567903502 +
 1.51880872209965*I, 1)]
 **********************************************************************
 File
 
"/home/mabshoff/build-3.3.alpha5/sage-3.3.alpha5-cicero/devel/sage/sage/calculus/calculus.py",
 line 3210:
     sage: f.roots(ring=CC, multiplicities=False)
 Expected:
     [-0.0588115223184495, -1.331099917875... - 1.52241655183732*I,
 -1.33109991787579 + 1.52241655183732*I, 1.36050567903502 -
 1.51880872209965*I, 1.36050567903502 + 1.51880872209965*I]
 Got:
     [-0.0588115223184495, -1.33109991787580 - 1.52241655183732*I,
 -1.33109991787580 + 1.52241655183732*I, 1.36050567903502 -
 1.51880872209965*I, 1.36050567903502 + 1.51880872209965*I]
 **********************************************************************
 }}}

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