[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Sat Feb 15 15:21:16 UTC 2014
details: /var/hg/gmp/rev/27e5849f8979
changeset: 16302:27e5849f8979
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Sat Feb 15 16:12:49 2014 +0100
description:
mini-gmp/mini-gmp.c (mpz_div_qr): init+set=init_set.
details: /var/hg/gmp/rev/8f6b14683c6e
changeset: 16303:8f6b14683c6e
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Sat Feb 15 16:21:10 2014 +0100
description:
ChangeLog
diffstat:
ChangeLog | 1 +
mini-gmp/mini-gmp.c | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 8066510ad4b6 -r 8f6b14683c6e ChangeLog
--- a/ChangeLog Sat Feb 15 14:13:54 2014 +0100
+++ b/ChangeLog Sat Feb 15 16:21:10 2014 +0100
@@ -6,6 +6,7 @@
* doc/gmp.texi (mpz_roinit_n, MPZ_ROINIT_N): Document that
at least a readable limb is required.
+ * mini-gmp/mini-gmp.c (mpz_div_qr): init + set = init_set .
2014-02-14 Niels Möller <nisse at lysator.liu.se>
diff -r 8066510ad4b6 -r 8f6b14683c6e mini-gmp/mini-gmp.c
--- a/mini-gmp/mini-gmp.c Sat Feb 15 14:13:54 2014 +0100
+++ b/mini-gmp/mini-gmp.c Sat Feb 15 16:21:10 2014 +0100
@@ -2187,8 +2187,7 @@
mp_size_t qn, rn;
mpz_t tq, tr;
- mpz_init (tr);
- mpz_set (tr, n);
+ mpz_init_set (tr, n);
np = tr->_mp_d;
qn = nn - dn + 1;
More information about the gmp-commit
mailing list