#18386: polylog quirks
-------------------------------------------------+-------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: symbolics | Resolution:
Keywords: pynac special | Merged in:
Authors: | Reviewers:
Report Upstream: Reported upstream. Developers | Work issues:
acknowledge bug. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by rws):
* upstream: N/A => Reported upstream. Developers acknowledge bug.
Old description:
> The `polylog` function (from Pynac) treats `1.0` like `1` and does not
> immediately `evalf` with some numeric arguments.
> {{{
> sage: polylog(2,1)
> 1/6*pi^2
> sage: polylog(2.,1)
> 1.64493406684823
> sage: polylog(2,1.0)
> 1/6*pi^2
> sage: polylog(2,0.9)
> polylog(2, 0.900000000000000)
>
> }}}
New description:
The `polylog` function (from Pynac) treats `1.0` like `1` and does not
immediately `evalf` with some numeric arguments.
{{{
sage: polylog(2,1)
1/6*pi^2
sage: polylog(2.,1)
1.64493406684823
sage: polylog(2,1.0)
1/6*pi^2
sage: polylog(2,0.9)
polylog(2, 0.900000000000000)
}}}
https://github.com/pynac/pynac/issues/48
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18386#comment:1>
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.