Klaus Brockhaus on Fri, 11 Apr 2003 05:03:18 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Euler constant


Bill,

Thanks for considering the Euler question.

Perhaps this is easier to reproduce:

                    GP/PARI CALCULATOR Version 2.0.17 (beta)
                  Windows NT ix86 (ix86 kernel) 32-bit version
                (readline disabled, extended help not available)

                           Copyright (C) 1989-1999 by
          C. Batut, K. Belabas, D. Bernardi, H. Cohen and M. Olivier.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

   realprecision = 28 significant digits
   seriesprecision = 16 significant terms
   format = g0.28

parisize = 4000000, primelimit = 500000
? \p 20000
   realprecision = 20007 significant digits (20000 digits displayed)
? a1=Euler;a2=truncate(a1*10^19300);a3=a2%(10^20)
%1 = 5228370342108957865
?

                    GP/PARI CALCULATOR Version 2.0.17 (beta)
                  Windows NT ix86 (ix86 kernel) 32-bit version
                (readline disabled, extended help not available)

                           Copyright (C) 1989-1999 by
          C. Batut, K. Belabas, D. Bernardi, H. Cohen and M. Olivier.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

   realprecision = 28 significant digits
   seriesprecision = 16 significant terms
   format = g0.28

parisize = 4000000, primelimit = 500000
? \p 25000
   realprecision = 25007 significant digits (25000 digits displayed)
? a1=Euler;a2=truncate(a1*10^19300);a3=a2%(10^20)
%1 = 5228370342566205373
?

Cheers,
Klaus.
-------------------------------------------------------------


Bill Allombert wrote:
> 
> On Fri, Apr 11, 2003 at 12:08:18AM +0200, Klaus Brockhaus wrote:
> > I am using PARI/GP 2.0.17 for Windows.
> >
> > and found that from digit 19292 onward there is disagreement. Digits 19281 to 19300:
> >
> > 05228370342108957865 on the web page,
> > 05228370342566205373 by PARI.
> >
> > Can someone confirm this observation? Is it a known bug?
> 
> I cannot reproduce it with PARI 2.1.4 or 2.2.5 (on GNU/Linux).
> 
> Cheers,
> Bill.