mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-02 21:12:11 +00:00
@@ -173,6 +173,12 @@ struct tester
|
||||
{
|
||||
BOOST_CHECK_EQUAL(mpz_int(a << i).str(), test_type(a1 << i).str());
|
||||
}
|
||||
else if(!is_checked_cpp_int<test_type>::value)
|
||||
{
|
||||
test_type t1(mpz_int(a << i).str());
|
||||
test_type t2 = a1 << i;
|
||||
BOOST_CHECK_EQUAL(t1, t2);
|
||||
}
|
||||
BOOST_CHECK_EQUAL(mpz_int(a >> i).str(), test_type(a1 >> i).str());
|
||||
}
|
||||
// gcd/lcm
|
||||
|
||||
Reference in New Issue
Block a user