#10042: Doctest failure in sage/rings/polynomial/polynomial_element.pyx
-----------------------+----------------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: defect | Status: needs_info
Priority: blocker | Milestone: sage-4.6
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Comment(by drkirkby):
On !OpenSolaris x86:
{{{
sage -t -long devel/sage/sage/rings/polynomial/polynomial_element.pyx
**********************************************************************
File "/export/home/drkirkby/sage-4.6.alpha2/devel/sage-
main/sage/rings/polynomial/polynomial_element.pyx", line 4316:
sage: f.roots(algorithm='numpy')
Expected:
doctest... UserWarning: NumPy does not support arbitrary precision
arithmetic. The roots found will likely have less precision than you
expect.
[(-1.7724538509055158819194275565678253769874572753906250000000, 1),
(1.7724538509055158819194275565678253769874572753906250000000, 1)]
Got:
doctest:1: UserWarning: NumPy does not support arbitrary precision
arithmetic. The roots found will likely have less precision than you
expect.
[(-1.7724538509055158819194275565678253769874572753906250000000, 1),
(1.7724538509055161039640324815991334617137908935546875000000, 1)]
**********************************************************************
}}}
I've not looked at this code, but is this only using machine precision?
(That's what the numPy message semi-implies). If so, why is there any
surprise this acts differently on different machines? Perhaps I've missed
the point of this.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10042#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.