#21121: Precision in doctest tolerance: x > x
------------------------------------------+--------------------------------
Reporter: leif | Type: defect
Status: new | Priority: minor
Milestone: sage-7.4 | Component: doctest
| framework
Keywords: doctest error exceeded | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
------------------------------------------+--------------------------------
{{{
Failed example:
A.exp() # tol 1e-14
Expected:
[-19.614602953804912 + 12.517743846762578*I 3.7949636449582176 +
28.88379930658099*I]
[ -32.383580980922254 + 21.88423595789845*I 2.269633004093535 +
44.901324827684824*I]
Got:
[-19.614602953804923 + 12.517743846762574*I 3.7949636449582007 +
28.883799306580993*I]
[-32.383580980922275 + 21.884235957898447*I 2.2696330040935115 +
44.901324827684846*I]
Tolerance exceeded in 1 of 8:
2.269633004093535 vs 2.2696330040935115, tolerance 1e-14 > 1e-14
}}}
\\
Sage saying that 10^-14^ > 10^-14^ appears a bit stupid; either the
doctesting framework should be more tolerant here, or give better messages
regarding the deviation.
(Inspired by #21119.)
--
Ticket URL: <https://trac.sagemath.org/ticket/21121>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.