gp -f
GP/PARI CALCULATOR Version 2.6.2 (development 15281-15d6bae)
amd64 running linux (x86-64/GMP-5.0.1 kernel) 64-bit version
compiled: Nov 4 2013, gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~12.04)
threading engine: pthread
(readline v6.0 enabled, extended help enabled)
Copyright (C) 2000-2013 The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and comes
WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 8000000, primelimit = 500000
? f()=sumnum(n=1,1,-log(cos(1/n)));
? \p 100
realprecision = 115 significant digits (100 digits displayed)
? f()
%2 = 0.94536905472633293526609521540827019761 + 0.E-32*I
? \p 308
realprecision = 308 significant digits
? f()
%3 = 0.94536905472633293526609521540827019712 + 0.E-32*I