git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change Rational<Arbint> -> Rational<Gmpint>
[ipdf/code.git]
/
src
/
tests
/
arbint_vs_gmpint.cpp
diff --git
a/src/tests/arbint_vs_gmpint.cpp
b/src/tests/arbint_vs_gmpint.cpp
index
2393d3a
..
306bbb7
100644
(file)
--- a/
src/tests/arbint_vs_gmpint.cpp
+++ b/
src/tests/arbint_vs_gmpint.cpp
@@
-26,9
+26,12
@@
int main(int argc, char ** argv)
{
arb_a *= b;
gmp_a *= b;
-
- Debug("Arbint - %s", arb_a.Str().c_str());
- Debug("Gmpint - %s", gmp_a.Str().c_str());
+ }
+
+ for (unsigned j = 0; j < 5; ++j)
+ {
+ arb_a /= b;
+ gmp_a /= b;
}
UCC
git Repository :: git.ucc.asn.au