#5012: Solaris 10/x86: Numerical noise in sage/rings/qqbar.py
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: solaris | Keywords:
----------------------+-----------------------------------------------------
Here we go:
{{{
[4:36pm] mabs: cwitty: I have another interesting bug for you:
[4:36pm] mabs: File "/home/mabshoff/build-3.2.3.final/sage-3.2.3.final-
fulvia/devel/sage/sage/rings/qqbar.py", line 3826:
[4:36pm] mabs: sage: cp.complex_roots(30, 1)
[4:36pm] mabs: Expected:
[4:36pm] mabs: [1.189207115002721?,
[4:36pm] mabs: -1.189207115002721?,
[4:36pm] mabs: 1.189207115002721?*I,
[4:36pm] mabs: -1.189207115002721?*I]
[4:36pm] mabs: Got:
[4:36pm] mabs: [1.189207115002721?, -1.189207115002722?,
1.189207115002721?*I, -1.189207115002721?*I]
[4:37pm] mabs: Notice that the second and third entries are different?
[4:37pm] mabs: Ehh, the second only
[4:38pm] cwitty: Yes. It's probably not a bug; complex_roots doesn't
guarantee to find the tightest possible
interval, and it depends on ATLAS which doesn't guarantee identical
results.
[4:38pm] mabs: ok
[4:38pm] mabs: Should I use "..." then?
[4:38pm] cwitty: Yes.
}}}
Patch coming up. Credit is shared with cwitty.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5012>
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
-~----------~----~----~----~------~----~------~--~---