Package: pari
Version: 2.6.2�(development 15281-15d6bae)
I noticed that when I run sumnum I don't get more precise output after 38 digits. The calculations take longer, but no more digits are returned. I expected to see output precision increase (even if not as high as input precision due to cancellation) but I don't see any increase at all.
> f()=sumnum(n=1,1,-log(cos(1/n)));
> #
> \p 38
> f()
time = 113 ms.
%2 =�0.94536905472633293526609521540827019799 + 0.E-33*I
> \p 308
� �realprecision = 308 significant digits
> f()
time = 3,417 ms.
%3 = 0.94536905472633293526609521540827019712 + 0.E-32*I
> \p1001
� �realprecision = 1001 significant digits
> f()
time = 29,858 ms.
%4 = 0.94536905472633293526609521540827019613 + 0.E-31*I
These were run on a 64-bit system, in particular
amd64 running linux (x86-64/GMP-5.0.1 kernel) 64-bit version
Charles Greathouse
Analyst/Programmer
Case Western Reserve University