Gmp.mpq res = Gmp.mpq() % a
Gmp.mpq
Gmp.mpq()
a
a%b = a - floor(a/b)*b
You need to authenticated to add a comment. Choose any of the services below: