Karim BELABAS on Thu, 4 May 2000 14:08:57 +0200 (MET DST)

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

Re: quadclassunit() bug

> ? setrand(1);quadclassunit(20558926928196)                     
>   ***   Warning: not a fundamental discriminant in quadclassunit.
>   ***   bug in GP (Segmentation Fault), please report

This is a long-standing one... quadclassunit is unstable when the
discriminant is not fundamental (this is mentionned in the manual, but not
really stressed). Anyway, I could track down this particular instance and
I corrected it in the CVS repository.

Can you check it does work more or less as expected now ? [as before the
result may be wrong for non-fundamental discriminants. I just tried to
prevent forbidden memory access]


Karim Belabas                    email: Karim.Belabas@math.u-psud.fr
Dep. de Mathematiques, Bat. 425
Universite Paris-Sud             Tel: (00 33) 1 69 15 57 48
F-91405 Orsay (France)           Fax: (00 33) 1 69 15 60 19
PARI/GP Home Page: http://www.parigp-home.de/