#17239: lcalc returning incorrect values
-----------------------------+----------------------------
Reporter: alexc | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: number theory | Keywords: lcalc
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
{{{
sage: from sage.libs.lcalc.lcalc_Lfunction import *
sage: Z = Lfunction_Zeta() #Riemann zeta function
sage: Z.value(100*I)
NaN - NaN*I
sage: CDF(100*I).zeta() #the correct value
6.51721042625 + 0.181288425338*I
sage: Z.value(99*I) #very large
-1.05677035996952e16 - 1.77185752069124e15*I
sage: Z.value(102*I) #very large
8.96446660698985e16 - 7.32159572862776e16*I
sage:
sage: chi = DirichletGroup(7).gens()[0]
sage: L = Lfunction_from_character(chi) #this one seems to work
sage: L.value(100*I)
5.91365407523633 - 3.18382625901338*I
sage: L = Lfunction_from_character(chi**2) #this one does not
sage: L.value(100*I)
1.21202136552168e15 - 7.03760325879769e16*I
}}}
Note: this was done with sage 6.2. My apologies if this has been fixed
since.
--
Ticket URL: <http://trac.sagemath.org/ticket/17239>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.