On Thu, 5 Nov 2020, Miki Hermann wrote:
I am not sure if I used the GMP package properly or if I did everything right, but it seems to me that very probably there is a problem somewhere in the GMP package and/or its interface with C++.
It is very probable that you are not familiar with the % operator in C or C++, and that you did not read our documentation at
https://gmplib.org/manual/C_002b_002b-Interface-Integers -- Marc Glisse _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs