Karim BELABAS on Wed, 4 Dec 2002 22:35:34 +0100 (MET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: gp: divrem([],[]) ? |
On Wed, 4 Dec 2002, Bill Allombert wrote: > I am not sure if it is a bug. On the other hand, > ? divrem(x,2) > %3 = 1/2*x > (should be a vector) > ? divrem([x,2],3.); > ? divrem([1.,2],x) > *** significant pointers are lost in gerepile !!! (please report) > > are bugs... > > It looks like they appeared in > -- src/basemath/gen3.c > revision 1.51 > date: 2001/11/17 18:15:15; author: karim; state: Exp; lines: +174 -74 > extend gdivent,gdiventres,gdivround, fix gmod(x,y) when y < 0 inexact: > 2 % (-3.) --> -1. !! > > when Karim has rewritten gen3.c. [ a small part thereof... ] I have fixed all the above (various typos). 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/