Karim BELABAS on Tue, 21 Oct 2003 17:05:19 +0200 (MEST)


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

Re: Bug in isprime()


On Mon, 20 Oct 2003, Dr. Robert J. Harley wrote:
>                  GP/PARI CALCULATOR Version 2.2.6 (development)
>                 i686 running linux (ix86 kernel) 32-bit version
[...]
> (11:04) gp > isprime(156499227435744375600531968861048687296374896432841731)
>   ***   bug in GP (Segmentation Fault), please report

There was a missing case in aprcl:sqrmod5()  [ square a polynomial mod
polcyclo(5). If input had exact degree 1, an undefined coefficient was used ].

Fixed in CVS.

Thanks,

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://www.parigp-home.de/  [PARI/GP]