=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/engine/Attic/pari-mp.c,v retrieving revision 1.2 retrieving revision 1.4 diff -u -p -r1.2 -r1.4 --- OpenXM_contrib2/asir2000/engine/Attic/pari-mp.c 2000/12/26 06:12:36 1.2 +++ OpenXM_contrib2/asir2000/engine/Attic/pari-mp.c 2004/02/13 05:48:35 1.4 @@ -1,14 +1,18 @@ /* - * $OpenXM: OpenXM_contrib2/asir2000/engine/pari-mp.c,v 1.1 2000/12/22 10:03:28 saito Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/engine/pari-mp.c,v 1.3 2003/02/14 22:29:09 ohara Exp $ */ /* for f-itv.c */ -#if PARI +#if defined(PARI) -#include "genpari.h" +#include #include "itv-pari.h" +# if PARI_VERSION_CODE > 131588 +extern ulong hiremainder, overflow; +# endif + GEN PariAddDown(GEN x, GEN y) { @@ -350,11 +354,11 @@ PariMulirDown(GEN x, GEN y) avma=av;return z; } -#ifdef LONG_IS_32BIT +#if defined(LONG_IS_32BIT) #define DIVCONVI 14 #endif -#ifdef LONG_IS_64BIT +#if defined(LONG_IS_64BIT) #define DIVCONVI 7 #endif