Karim Belabas on Mon, 19 Jul 2004 17:44:10 +0200


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

Re: API changes between 2.1 and 2.2.8


* Bill Allombert [2004-07-09 22:51]:
> On Sun, Jul 04, 2004 at 03:11:01PM +0200, Karim Belabas wrote:
> > * Bill Allombert [2004-07-03 13:49]:
> > > I am checking differences between PARI 2.1 and 2.2.8 API/ABI.
> > > 
> > > 1) co8() and smodis() are documented but do not exist anymore.
> > 
> > smodis() definitely still exists, and is properly documented [ along with
> > many useful variants, since a few weeks ago ]
> 
> I meant smodsi(), sorry!

Indeed. This one was improperly defined : smodsi(-1, x) had no meaning for
x a large t_INT [ since the result |x| - 1 could not be represented as a C
long integer ]

It is superseded by the (mostly useless) routines umodui(ulong, GEN) or
modsi(long, GEN), which are always defined.

I have updated COMPAT.

Cheers,

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]