Karim BELABAS on Tue, 4 Feb 2003 19:20:35 +0100 (MET)


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

Re: gp: factor(x+quadgen(4)) *** not enough precalculated primes


On Sun, 2 Feb 2003, Michael Somos wrote:
> ? factor(x+quadgen(4))
>   ***   not enough precalculated primes
>
> Seems like a bug to me. Shalom, Michael

The input is not correct. quadgen/quadpoly do not handle squares.

I have added an explicit check, and a mention in the docs.

(19:19) gp >  factor(x+quadgen(4))
  ***   square discriminant in quadpoly.

Cheers,

    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             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/