Michael Somos on Mon, 4 Oct 1999 03:10:41 -0400 (EDT)


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

type() bug in gp


Reading GPRC: /home1/faculty/somos/.gprc ...Done.

                    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> y=1/x
%1 = 1/x
gp> type(y)
%2 = "t_RFRAC"
gp> type(y,RFRAC)
%3 = 1/x
gp> type(y,RFRACN)
  ***   the PARI stack overflows !!!

  ***   Warning: doubling stack size; new stack = 8000000.
gp> \q
Good bye!

This is a bug since at least 2.0.14. Shalom, Michael

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