Vincent Delecroix vincent.delecroix at
Thu Sep 3 20:04:17 UTC 2015

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:

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,

More information about the gmp-devel mailing list