Added mpz_t return to testapp
This commit is contained in:
parent
6d15af8b86
commit
551f93afbd
|
@ -17,7 +17,11 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
int d = Abs(c);
|
int d = Abs(c);
|
||||||
std::cout << d << std::endl;
|
std::cout << d << std::endl;
|
||||||
std::cout << c.ToString(NULL, 2) << std::endl;
|
std::cout << c.ToString(NULL, 2) << std::endl << std::endl;
|
||||||
|
|
||||||
|
mpz_t& e = c;
|
||||||
|
mpz_mul_ui(e, e, 2);
|
||||||
|
std::cout << c << std::endl;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in a new issue