Karim BELABAS on Fri, 28 Feb 2003 17:16:28 +0100 (MET)


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

Re: gp: ellpow() pointers lost


On Fri, 28 Feb 2003, Michael Somos wrote:
> ? E=ellinit([0,3,0,2,1/4]);
> ? ellpow(E,[-1,1/2],-1)
>   ***   significant pointers are lost in gerepile !!! (please report)

I broke this when systematizing the kernel-independant handling of integers:
ellpow was using the standard binary powering techniques, and was accessing
the exponent bits directly, and in the wrong order if we were using GMP
kernel. [ Bill had done most of the work already. ]

Fixed.

    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/