#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:           
               
----------------------------------------------------+-----------------------

Comment(by kcrisman):

 > Can you double-check to make sure that test was passing before the
 patches?  It seems odd to me that error would have been triggered by this
 patch.
 Notice that the test now fails because we used to ignore all digits before
 the exponent, not because of the stack thing - the doc even points out
 that warnings might happen, it's no big deal for now.
 {{{
         Sometimes warnings are printed (by lcalc) when this command is
         run::

             sage: E = EllipticCurve('389a')
             sage: E.lseries().values_along_line(0.5, 3, 5)
             [(0, 0.209951303),
              (0.500000000, -...e-16),
              (1.00000000, 0.133768433),
              (1.50000000, 0.360092864),
              (2.00000000, 0.552975867)]
 }}}
 Here is 5.0.beta1:
 {{{
 $ ./sage -t -long devel/sage/sage/lfunctions/lcalc.py
 sage -t -long "devel/sage/sage/lfunctions/lcalc.py"
          [20.4 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 20.5 seconds
 <snip>
 sage:             sage: E = EllipticCurve('389a')
 sage:             sage: E.lseries().values_along_line(0.5, 3, 5)
   ***   Warning: new stack size = 1003360 (0.957 Mbytes).
 [(0, 0.209951303), (0.500000000, -2.92081723e-16), (1.00000000,
 0.133768433), (1.50000000, 0.360092864), (2.00000000, 0.552975867)]
 }}}
 so we can see that all that has to be done is go back to the previous
 doctest for that one number (not even the whole list).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8720#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.

Reply via email to