GMP Problem with % under C++

Marc Glisse marc.glisse at inria.fr
Thu Nov 5 21:15:34 UTC 2020


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


More information about the gmp-bugs mailing list