summaryrefslogtreecommitdiff
path: root/tests/cxx
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2008-02-29 00:02:05 +0100
committertege <tege@gmplib.org>2008-02-29 00:02:05 +0100
commita187040c02fb208f82b3a0b0f3baeb9781476c6b (patch)
tree790645b2c43706ebac369aa0c298bd9ab5fcf003 /tests/cxx
parenta700189ebf54bf80579c6295f0db149e58210dab (diff)
downloadgmp-a187040c02fb208f82b3a0b0f3baeb9781476c6b.tar.gz
(check_mpz): Expect fllor rounding for right shift.
Diffstat (limited to 'tests/cxx')
-rw-r--r--tests/cxx/t-binary.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cxx/t-binary.cc b/tests/cxx/t-binary.cc
index 988f68f2b..08d1d9717 100644
--- a/tests/cxx/t-binary.cc
+++ b/tests/cxx/t-binary.cc
@@ -115,7 +115,7 @@ check_mpz (void)
mpz_class a(5), b(-4);
signed int c = 3;
mpz_class d;
- d = (a * b) >> c; ASSERT_ALWAYS(d == -2);
+ d = (a * b) >> c; ASSERT_ALWAYS(d == -3);
}
// template <class T, class U, class V, class Op>