| Karim BELABAS on Sat, 7 Sep 2002 23:46:25 +0200 (MEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: gp: (-2/x)/(-1/x) + O(%) = seg fault |
On Mon, 26 Aug 2002, Michael Somos wrote:
> I think the initial bug is that (-2/x)/(-1/x) was not reduced to integer 2.
> This is of minor consequence
Not really, it produces an invalid object!
> however, it can trigger a seg fault in 'O()'
> which does not have enough protective code. It may be argued that fixing
> the initial bug would obviate need for more protective code.
I have added protective code (check that the variable number we obtain is
valid).
> Perhaps. Note that I have found other examples of incomplete reduction
> that could have been fixed. This is just one simple example.
Can you update from CVS, re-check, and send the remaining "other examples" ?
Thanks,
Karim.
--
Karim Belabas Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425 Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France) http://www.math.u-psud.fr/~belabas/
--
PARI/GP Home Page: http://www.parigp-home.de/