Karim BELABAS on Thu, 18 Jul 2002 13:26:59 +0200 (MEST)


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

Re: weird factor() output


On Fri, 5 Jul 2002, Igor Schein wrote:
> ? factor(x-I)
>
> [x - #<16382> 1]
>
> Looks like pari is confused about I being complex.

An interface bug in factornf (= polfnf): when the input was a perfect power,
it returned a result with lifted coefficients (as opposed to t_POLMOD). The
latter were not translated back to human readable form by factor().
[ I introduced the problem recently when I rewrote the polynomial factorizers
(in char. 0) around van Hoeij's method ]

    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/