[Gmp-commit] /home/hgfiles/gmp: Use correct test values in "try mpn_invert".
mercurial at gmplib.org
mercurial at gmplib.org
Sun Dec 6 07:46:39 CET 2009
details: /home/hgfiles/gmp/rev/55d8a68760d9
changeset: 12994:55d8a68760d9
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Sun Dec 06 07:46:32 2009 +0100
description:
Use correct test values in "try mpn_invert".
diffstat:
ChangeLog | 4 ++++
tests/devel/try.c | 7 +++++++
2 files changed, 11 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r c183cbef46c6 -r 55d8a68760d9 ChangeLog
--- a/ChangeLog Sun Dec 06 07:28:53 2009 +0100
+++ b/ChangeLog Sun Dec 06 07:46:32 2009 +0100
@@ -1,3 +1,7 @@
+2009-12-06 Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+ * tests/devel/try.c(try_one): DATA_SRC0_HIGHBIT sets the high bit.
+
2009-12-05 Marco Bodrato <bodrato at mail.dm.unipi.it>
* mpn/generic/toom_eval_dgr3_pm1.c: Change return value: 0 or ~0.
diff -r c183cbef46c6 -r 55d8a68760d9 tests/devel/try.c
--- a/tests/devel/try.c Sun Dec 06 07:28:53 2009 +0100
+++ b/tests/devel/try.c Sun Dec 06 07:46:32 2009 +0100
@@ -2608,6 +2608,13 @@
}
break;
+ case DATA_SRC0_HIGHBIT:
+ if (i == 0)
+ {
+ s[i].p[size-1] |= GMP_NUMB_HIGHBIT;
+ }
+ break;
+
case DATA_UDIV_QRNND:
s[i].p[1] %= divisor;
break;
More information about the gmp-commit
mailing list