#8720: CC and CDF do not display numeric 0
----------------------------------------------------+-----------------------
Reporter: jason | Owner:
AlexGhitza
Type: defect | Status:
needs_work
Priority: major | Milestone: sage-5.0
Component: basic arithmetic | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Paul Zimmermann, Karl-Dieter Crisman | Author: Jason
Grout, Mike Hansen
Merged: | Dependencies:
----------------------------------------------------+-----------------------
Changes (by kcrisman):
* status: needs_review => needs_work
* reviewer: Paul Zimmermann => Paul Zimmermann, Karl-Dieter Crisman
Comment:
{{{
$ ../../sage -tp 4 -long sage/lfunctions/lcalc.py
Global iterations: 1
File iterations: 1
Using long cached timings to run longest doctests first.
Doctesting 1 file using 1 thread
sage -t -long devel/sage-main/sage/lfunctions/lcalc.py
*** Warning: new stack size = 1028976 (0.981 Mbytes).
*** Warning: new stack size = 1003360 (0.957 Mbytes).
*** Warning: new stack size = 1001472 (0.955 Mbytes).
**********************************************************************
File "/Users/.../sage-5.0.beta2/devel/sage-main/sage/lfunctions/lcalc.py",
line 229:
sage: E.lseries().values_along_line(0.5, 3, 5)
Expected:
[(0.000000000, 0.209951303), (0.500000000, -2.92081722e-16),
(1.00000000, 0.133768433), (1.50000000, 0.360092864), (2.00000000,
0.552975867)]
Got:
[(0.000000000, 0.209951303), (0.500000000, -2.92081723e-16),
(1.00000000, 0.133768433), (1.50000000, 0.360092864), (2.00000000,
0.552975867)]
**********************************************************************
1 items had failures:
1 of 7 in __main__.example_5
***Test Failed*** 1 failures.
For whitespace errors, see the file
/Users/.../.sage/tmp/new_host_2.home-37994/lcalc_37997.py
[3.0 s]
}}}
The difference was in the e-16 one. I think there is a reason that one
used to be {{{-...e-16}}} in the old doctest. I'm going to ignore the
stack size warnings, since they don't seem to have affected the outcome,
though I'm sure they're not ideal.
All else is fine!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8720#comment:17>
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.