[Gmp-commit] /var/hg/gmp: Whitespace cleanup.
mercurial at gmplib.org
mercurial at gmplib.org
Tue Feb 26 23:48:17 CET 2013
details: /var/hg/gmp/rev/1b5daa933fac
changeset: 15488:1b5daa933fac
user: Torbjorn Granlund <tege at gmplib.org>
date: Tue Feb 26 23:48:15 2013 +0100
description:
Whitespace cleanup.
diffstat:
mini-gmp/mini-gmp.c | 2 +-
mpz/mfac_uiui.c | 2 +-
tests/mpq/t-get_d.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r 387a2d41c7c3 -r 1b5daa933fac mini-gmp/mini-gmp.c
--- a/mini-gmp/mini-gmp.c Tue Feb 26 23:47:33 2013 +0100
+++ b/mini-gmp/mini-gmp.c Tue Feb 26 23:48:15 2013 +0100
@@ -1625,7 +1625,7 @@
mp_limb_t ul = u->_mp_d[0];
if ((mp_limb_t)GMP_NEG_CAST (unsigned long int, v) < ul)
return -1;
- else
+ else
return (mp_limb_t)GMP_NEG_CAST (unsigned long int, v) > ul;
}
}
diff -r 387a2d41c7c3 -r 1b5daa933fac mpz/mfac_uiui.c
--- a/mpz/mfac_uiui.c Tue Feb 26 23:47:33 2013 +0100
+++ b/mpz/mfac_uiui.c Tue Feb 26 23:48:15 2013 +0100
@@ -93,7 +93,7 @@
n -= m;
max_prod = GMP_NUMB_MAX / n;
- if (g > 1)
+ if (g > 1)
factors = MPZ_NEWALLOC (x, sn / log_n_max (n) + 2);
else {
TMP_MARK;
diff -r 387a2d41c7c3 -r 1b5daa933fac tests/mpq/t-get_d.c
--- a/tests/mpq/t-get_d.c Tue Feb 26 23:47:33 2013 +0100
+++ b/tests/mpq/t-get_d.c Tue Feb 26 23:48:15 2013 +0100
@@ -164,7 +164,7 @@
check_random (int argc, char **argv)
{
gmp_randstate_ptr rands = RANDS;
-
+
double d;
mpq_t q;
mpz_t a, t;
@@ -179,7 +179,7 @@
mpq_init (q);
mpz_init (a);
mpz_init (t);
-
+
for (test = 0; test < reps; test++)
{
mpz_rrandomb (a, rands, 53);
More information about the gmp-commit
mailing list