mpf_eq progress since gmp-4.2.1?

abbott abbott at dima.unige.it
Thu Jan 4 22:55:21 CET 2007


This not really a bug report, just a question and an observation on gmp-4.2.1.

Is there any progress on mpf_eq?  A while back I had a look at fixing it
myself but it all seemed rather delicate... :-(

I observe that it is a little "awkward" that mpf_mul_2exp and mpf_div_2exp
take an UNSIGNED exponent; in some ways a signed one would be more natural.
I presume the functions were designed that way to be coherent with the
corresponding mpz functions, and perhaps also to allow slightly larger
values for the exponents.

John Abbott.


More information about the gmp-bugs mailing list