Sören Lennart Berg on Mon, 10 Dec 2012 17:28:32 +0100

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

Prevent PARI from determining program

the program I'm working on essentially runs a huge for loop. This means millions or even billions of
loop cycles. In every iteration PARI is used to compute different things, for example
polynomial roots, resultants and more. However, in rare cases PARI might crash due to
faulty arguments(causing division by zero for example), a too small PARI stack or bugs.
Unfortunately PARI then determines the program. Is there a way to avoid this behaviour?
Can I reinitialise the PARI system and keep going? If the program crashes all computations
would be in vain.

best regards,