[Gmp-commit] /var/hg/gmp: Whitespace cleanup.

mercurial at gmplib.org mercurial at gmplib.org
Fri Feb 8 23:29:27 CET 2013


details:   /var/hg/gmp/rev/c398bdfc239b
changeset: 15382:c398bdfc239b
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Feb 08 23:29:24 2013 +0100
description:
Whitespace cleanup.

diffstat:

 ChangeLog                  |  4 ++--
 mini-gmp/tests/t-logops.c  |  2 +-
 mini-gmp/tests/t-signed.c  |  2 +-
 mini-gmp/tests/testutils.c |  4 ++--
 tests/mpz/t-jac.c          |  6 +++---
 5 files changed, 9 insertions(+), 9 deletions(-)

diffs (95 lines):

diff -r c3378d7c80de -r c398bdfc239b ChangeLog
--- a/ChangeLog	Thu Feb 07 15:17:38 2013 +0100
+++ b/ChangeLog	Fri Feb 08 23:29:24 2013 +0100
@@ -1,6 +1,6 @@
 2013-02-07 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
-	* tune/speed.h (SPEED_ROUTINE_MPN_MUL): Use operands from struct s. 
+	* tune/speed.h (SPEED_ROUTINE_MPN_MUL): Use operands from struct s.
 	* tune/README: Document new parameter syntax mpn_mul.<#> .
 
 2013-02-06  Niels Möller  <nisse at lysator.liu.se>
@@ -62,7 +62,7 @@
 2013-01-23 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* mini-gmp/mini-gmp.c (mpz_cmpabs_d, mpz_cmp_d): Simplify.
-	(mpz_set_str): Behaviour more adherent to the real GMP. 
+	(mpz_set_str): Behaviour more adherent to the real GMP.
 
 	* mini-gmp/tests/t-str.c: Cast size_t to unsigned long, for printf.
 	* mini-gmp/tests/t-import.c: Likewise.
diff -r c3378d7c80de -r c398bdfc239b mini-gmp/tests/t-logops.c
--- a/mini-gmp/tests/t-logops.c	Thu Feb 07 15:17:38 2013 +0100
+++ b/mini-gmp/tests/t-logops.c	Fri Feb 08 23:29:24 2013 +0100
@@ -93,7 +93,7 @@
       } else {
 	c = (~ (mp_bitcnt_t) 0) - 3;
 	mpz_set_ui (res, 11 << ((i >> 3)%4)); /* set 3 bits */
-      } 
+      }
 
       if (mpz_popcount (res) + c != mpz_hamdist (a, b))
 	{
diff -r c3378d7c80de -r c398bdfc239b mini-gmp/tests/t-signed.c
--- a/mini-gmp/tests/t-signed.c	Thu Feb 07 15:17:38 2013 +0100
+++ b/mini-gmp/tests/t-signed.c	Fri Feb 08 23:29:24 2013 +0100
@@ -100,7 +100,7 @@
       break;
 
     oi = (si - c) * 2 + c; /* c * (2^K - 1) */
-    mpz_mul_si (oz, sz, 2*c); 
+    mpz_mul_si (oz, sz, 2*c);
     if (c == -1)
       mpz_ui_sub (oz, 1, oz); /* oz = sz * 2 + 1 */
     else
diff -r c3378d7c80de -r c398bdfc239b mini-gmp/tests/testutils.c
--- a/mini-gmp/tests/testutils.c	Thu Feb 07 15:17:38 2013 +0100
+++ b/mini-gmp/tests/testutils.c	Fri Feb 08 23:29:24 2013 +0100
@@ -23,7 +23,7 @@
    works. */
 #include "../mini-gmp.c"
 
-static size_t total_alloc = 0; 
+static size_t total_alloc = 0;
 
 /* Custom memory allocation to track memory usage, and add a small red
    zone.
@@ -129,7 +129,7 @@
   size_t initial_alloc;
 
   mp_get_memory_functions (&allocfunc, &reallocfunc, &freefunc);
-  initial_alloc = total_alloc; 
+  initial_alloc = total_alloc;
   (*tested_fun) (count / 2);
   if (initial_alloc != total_alloc)
     {
diff -r c3378d7c80de -r c398bdfc239b tests/mpz/t-jac.c
--- a/tests/mpz/t-jac.c	Thu Feb 07 15:17:38 2013 +0100
+++ b/tests/mpz/t-jac.c	Fri Feb 08 23:29:24 2013 +0100
@@ -880,7 +880,7 @@
 #define PBITS 200
 #define PPOWER 201
 #define MAX_QBITS 500
-  
+
   gmp_randstate_ptr rands = RANDS;
 
   mpz_t p, n, q, g, s, t, x, y, bs;
@@ -909,7 +909,7 @@
   mpz_pow_ui (n, p, PPOWER);
 
   nsize = mpz_sizeinbase (n, 2);
-  
+
   for (i = 0; i < COUNT; i++)
     {
       unsigned j;
@@ -978,7 +978,7 @@
   mpz_clear (M[0][0]);
   mpz_clear (M[0][1]);
   mpz_clear (M[1][0]);
-  mpz_clear (M[1][1]);  
+  mpz_clear (M[1][1]);
 #undef COUNT
 #undef PBITS
 #undef PPOWER


More information about the gmp-commit mailing list