#8864: make zeta function symbolic
-------------------------------+--------------------------------------------
   Reporter:  zimmerma         |       Owner:  AlexGhitza
       Type:  enhancement      |      Status:  needs_work
   Priority:  major            |   Milestone:  sage-4.4.2
  Component:  symbolics        |    Keywords:            
     Author:  Burcin Erocal    |    Upstream:  N/A       
   Reviewer:  Paul Zimmermann  |      Merged:            
Work_issues:                   |  
-------------------------------+--------------------------------------------
Changes (by zimmerma):

  * status:  needs_review => needs_work
  * reviewer:  => Paul Zimmermann


Comment:

 I applied that patch to 4.4.1. The new behaviour is ok, I get only one
 doctest failure in
 {{{lfunctions/dokchitser.py}}}. With 4.4.1 we got:
 {{{
 sage:  h = RR('0.0000000000001')
 sage: (zeta(2+h) - zeta(2))/h
 -0.937028232783632
 }}}
 With the patch, we get:
 {{{
 sage: h = RR('0.0000000000001')
 sage: (zeta(2+h) - zeta(2))/h
 -1.66666666666667e12*pi^2 + 1.64493406684813e13
 }}}
 I guess the doctest result has to be changed, or zeta(2) changed to
 zeta(2.), since Sage does not
 automatically propagate floats, for example {{{pi+1.0}}} remains
 unchanged.

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