My mistake: it is gmp.h is autogenerated so I just had to rerun
./configure. Please forget about my question!
Vincent
On 02/11/15 11:17, Vincent Delecroix wrote:
Hola,
A quick question: why mpq_cmp_z is declared in gmpxx.h but not in gmp.h?
Vincent
On 03/09/15 17:04, Vincent Delecroix wrote:
Ciao Marco,
On 02/09/15 02:44, Marco Bodrato wrote:
Ciao Vincent,
Il Sab, 15 Agosto 2015 12:37 pm, Vincent Delecroix ha scritto:
Dear all,
I am new to this list. I am a regular developer of the SageMath project
[1] in which we use mpz_t and mpq_t as our based type for integers and
rationals. We often have to compare integers with rationals and I came
to the conclusion that it would be convenient to have a GMP function
int mpq_cmp_z(mpq_t, mpz_t)
We now have this function in our repository:
https://gmplib.org/repo/gmp/rev/c95f8df2b57e
Great! Thanks so much to all of you for making this new function exists.
It shares most of the code with the already existing mpq_cmp
function. If
you have the possibility to test if it fits your needs (both on the
speed
side and for the interface) we will be happy to know.
I will!
Best regards,
Vincent
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel