Bill Allombert on Fri, 14 May 2004 16:13:39 +0200


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

src/basemath/base2.c failed to build


Hello PARI CVS users,

src/basemath/base2.c failed to build with fmod: invalid argument error,

So I have commited the patch below that fix that, I hope it is OK.

(fmod is a libm function, quite unable to handle GEN)

--- src/basemath/base2.c        14 May 2004 13:05:42 -0000      1.265
+++ src/basemath/base2.c        14 May 2004 13:57:47 -0000
@@ -1752,7 +1752,7 @@
          if (eq) gamm = gmul(gamm, gpowgs(p, eq));
          if (er)
          {
-           gamm = fmod(gmul(gamm, gpowgs(nu, er)), chi);
+           gamm = gmod(gmul(gamm, gpowgs(nu, er)), chi);
            gamm = redelt(gamm, p, p);
          }
          chig = mycaract(chi, gamm, p, pmf, ns);

Cheers,
Bill