#11672: Some more doctests from the book "Calcul mathématique avec Sage"
-----------------------------------+----------------------------------------
Reporter: mmezzarobba | Owner: mvngu
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.7
Component: doctest | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Martin Albrecht, Charles
Bouillaguet
Authors: Marc Mezzarobba | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by Bouillaguet):
Replying to [comment:16 mmezzarobba]:
> Paul: Could it be that whatever is used is compiled using extended
precision on some platforms? Another strange thing, though, is that
> {{{
> sage: J.variety(Reals(p))
> [{y: -1.00000001350726, x: -1929.60019649825}, {y: -0.999999986492719,
x: 1929.62017010095}, {y: 396340.890166545, x: 10.3009522157620}]
> }}}
> finds 3 solutions for p as low as 39...
>
> Anyway, this test doesn't make much sense, I shouldn't have included
this test in the first place. Here is a new version of the patch without
that test. I took the opportunity to ignore the last few significant
digits in another numerical result that might change a bit in the future.
Well, the test obviously indicate that there is a problem somewhere, and I
tend to believe that we should keep the test and track the problem.
Either your computation is ill-conditioned, and the test should be removed
from Sage (and probably also from the book), or there is a component of
sage that misbehaves. We should understand what the situation is, and act
accordingly. These tests have been there for 1.5 years, so we are not in a
hurry. Maybe we could compare intermediate results on different machines?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11672#comment:19>
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.