From 551f93afbd52b302b47cd2e7dc7da686512b1127 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 19 Jul 2020 20:20:06 +0200 Subject: [PATCH] Added mpz_t return to testapp --- testapp/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testapp/main.cpp b/testapp/main.cpp index 071b693..409108d 100644 --- a/testapp/main.cpp +++ b/testapp/main.cpp @@ -17,7 +17,11 @@ int main(int argc, char** argv) int d = Abs(c); 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; } \ No newline at end of file