Igor Schein on Sun, 27 Jun 1999 17:58:44 -0400


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

Floating exception bug


Hi, 

I came across this interesting behavior:

? BernMat(N)=local(m,v);m=Mat();for(k=1,N+1,m=concat(m,vectorv(N+1,z,k^(N+2-z))));m=m~;m
? 1/(BernMat(100)+0.)
  ***   the PARI stack overflows !!!

  ***   Warning: doubling stack size; new stack = 8000000.
? 1/(BernMat(100)+0.)
Floating exception

... and the session dies.  


Thanks

Igor