#10042: Doctest failure in sage/rings/polynomial/polynomial_element.pyx
-------------------------------+--------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: defect | Status: needs_work
Priority: blocker | Milestone: sage-4.6
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: report upstream |
-------------------------------+--------------------------------------------
Comment(by leif):
Replying to [comment:59 leif]:
> I've just recompiled LAPACK with {{{-march=native -mfpmath=sse}}} (by
adding this in the {{{sage_fortran}}} script) on the Pentium4 Prescott
(which has SSE3)... with that, the difference vanishes.
... and the opposite (i.e., {{{-mfpmath=387}}}) on the Core2, which in
turn results in:
{{{
#!sh
l...@quadriga:~/Sage/sage-4.6.alpha3$ ./sage -t -long
devel/sage/sage/rings/polynomial/polynomial_element.pyx
sage -t -long "devel/sage/sage/rings/polynomial/polynomial_element.pyx"
**********************************************************************
File
"/home/leif/Sage/sage-4.6.alpha3/devel/sage/sage/rings/polynomial/polynomial_element.pyx",
line 4317:
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)]
**********************************************************************
1 items had failures:
1 of 148 in __main__.example_83
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/leif/.sage//tmp/.doctest_polynomial_element.py
[10.7 s]
----------------------------------------------------------------------
The following tests failed:
sage -t -long
"devel/sage/sage/rings/polynomial/polynomial_element.pyx"
}}}
:D
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10042#comment:61>
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.