[CM] s7 (current) doesn't compile with GNU multiprecision arithmetic

Tito Latini tito.01beta at gmail.com
Fri Mar 20 03:54:26 PDT 2015


Hi, attached a patch to fix a recent typo.

(please pardon me if it is not correct to report/fix recent changes)
-------------- next part --------------
diff -ur snd-15~/s7.c snd-15/s7.c
--- snd-15~/s7.c	2015-03-18 22:57:54.000000000 +0100
+++ snd-15/s7.c	2015-03-20 11:25:37.816183045 +0100
@@ -17380,7 +17380,7 @@
 	s7_pointer x;
 
 	NEW_CELL(sc, x, T_BIG_REAL);
-	add_bigreal(x);
+	add_bigreal(sc, x);
 	mpfr_init(big_real(x));
 	mpc_real(big_real(x), big_complex(p), GMP_RNDN);
 
@@ -17426,7 +17426,7 @@
       {
 	s7_pointer x;
 	NEW_CELL(sc, x, T_BIG_REAL);
-	add_bigreal(x);
+	add_bigreal(sc, x);
 	mpfr_init(big_real(x));
 	mpc_imag(big_real(x), big_complex(p), GMP_RNDN);
 


More information about the Cmdist mailing list