[GiNaC-devel] Patch numerical evaluation alternating Euler sums of depth 1

Stefan Weinzierl weinzierl at uni-mainz.de
Fri Apr 10 15:26:13 CEST 2020


Hi,

I came along a small bug in the numerical evaluation of alternating Euler 
sums of depth 1, when in the input no lists are used:

> evalf(zeta({5},{1}));
1.0369277551433699263
> evalf(zeta(5,1));
1.0369277551433699263
> evalf(zeta({5},{-1}));
-0.972119770446909306
> evalf(zeta(5,-1));
zeta(5,-1)

The attached patch fixes the last case, so zeta(5,-1) is now also 
evaluated numerically.

  Best wishes,

    Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polylog15.patch
Type: text/x-diff
Size: 521 bytes
Desc: patch file
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20200410/8c456ad8/attachment.bin>


More information about the GiNaC-devel mailing list