Michael Somos on Fri, 29 Oct 1999 16:26:24 -0400 (EDT)


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

hyperu() bug more


                    GP/PARI CALCULATOR Version 2.0.17 (beta)
                i686 running linux (ix86 kernel) 32-bit version
              (readline v2.2 enabled, 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
gp> hyperu(1,2,0)
%1 = 51580834970224178120796801.23
gp> hyperu(1,2,.0)
%2 = 2396734.892578125000000000000
gp> hyperu(1,2,10^-15)
%3 = 999999999999999.9999999995337

My guess is that hyperu(1,2,0) and hyperu(1,2,0.) should both be infinite.
The last result supports the hypothesis that hyperu(1,2,x) = 1/x for x real.
Shalom, Michael

-- 
Michael Somos <somos@grail.cba.csuohio.edu>     Cleveland State University
http://grail.cba.csuohio.edu/~somos/            Cleveland, Ohio, USA 44115