Matias Atria on Thu, 5 Apr 2001 16:53:11 -0400 (EDT) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: catching errors |
I'm already resetting those signals, but how do I stop PARI from exiting after, say, division by zero? There is a function err_catch() but I'm not sure if it can be used safely outside the library (and does not seem to be documented) Thanks, Matias. On Thu, 5 Apr 2001 Peter-Lawrence.Montgomery@cwi.nl wrote: > After calling pari_init, I make two more calls if I am > in debug mode on an IRIX system. These override the calls > made by PARI, letting me use the debugger to trace some errors. > > signal(SIGBUS, SIG_DFL); > signal(SIGSEGV, SIG_DFL); > > Peter Montgomery