[Gmp-commit] /var/hg/gmp-6.2: 3 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Thu Sep 17 12:58:09 UTC 2020


details:   /var/hg/gmp-6.2/rev/deb9bd439752
changeset: 18074:deb9bd439752
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Sep 17 10:04:32 2020 +0200
description:
mini-gmp/tests/t-mpq_double.c: Whitespace

details:   /var/hg/gmp-6.2/rev/aa89ce260bbb
changeset: 18075:aa89ce260bbb
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Sep 17 10:05:42 2020 +0200
description:
mini-gmp/mini-gmp.h: Update FILE tests from gmp-h (spotted by Vincent Lefevre)

details:   /var/hg/gmp-6.2/rev/2a99844c8d54
changeset: 18076:2a99844c8d54
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Sep 17 10:05:52 2020 +0200
description:
ChangeLog

diffstat:

 mini-gmp/ChangeLog            |  2 ++
 mini-gmp/mini-gmp.h           |  3 ++-
 mini-gmp/tests/t-mpq_double.c |  2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 65024428d111 -r 2a99844c8d54 mini-gmp/ChangeLog
--- a/mini-gmp/ChangeLog	Fri Sep 11 01:14:23 2020 +0200
+++ b/mini-gmp/ChangeLog	Thu Sep 17 10:05:52 2020 +0200
@@ -2,6 +2,8 @@
 
 	* tests/t-mpq_double.c (mpq_get_d_exact_p): Cleanup.
 
+	* mini-gmp.h: Update FILE tests from gmp-h (tx Vincent Lefèvre).
+
 2020-05-21  Torbjörn Granlund  <tg at gmplib.org>
 
 	* tests/t-mpq_muldiv_2exp.c (testmain): Cast printf args to right type.
diff -r 65024428d111 -r 2a99844c8d54 mini-gmp/mini-gmp.h
--- a/mini-gmp/mini-gmp.h	Fri Sep 11 01:14:23 2020 +0200
+++ b/mini-gmp/mini-gmp.h	Thu Sep 17 10:05:52 2020 +0200
@@ -291,7 +291,8 @@
   || defined (_MSL_STDIO_H)           /* Metrowerks */          \
   || defined (_STDIO_H_INCLUDED)      /* QNX4 */		\
   || defined (_ISO_STDIO_ISO_H)       /* Sun C++ */		\
-  || defined (__STDIO_LOADED)         /* VMS */
+  || defined (__STDIO_LOADED)         /* VMS */			\
+  || defined (__DEFINED_FILE)         /* musl */
 size_t mpz_out_str (FILE *, int, const mpz_t);
 #endif
 
diff -r 65024428d111 -r 2a99844c8d54 mini-gmp/tests/t-mpq_double.c
--- a/mini-gmp/tests/t-mpq_double.c	Fri Sep 11 01:14:23 2020 +0200
+++ b/mini-gmp/tests/t-mpq_double.c	Thu Sep 17 10:05:52 2020 +0200
@@ -123,7 +123,7 @@
       mpq_set_d (y, d);
 
       if (i == 0)
-       mpq_neg (z, y);
+	mpq_neg (z, y);
 
       mpq_add (y, y, z);
       mpq_set_d (z, mpq_get_d (y));



More information about the gmp-commit mailing list