mpf_eq progress since gmp-4.2.1?

Torbjorn Granlund tg-this-will-bounce-but-I-am-subscribed-to-the-list-honest at swox.com
Fri Jan 5 00:50:20 CET 2007


abbott <abbott at dima.unige.it> writes:

  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... :-(
  
It is delicate for me too, and I don't use it.

  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.
  
I suppose you're right.  :-)

I actually don't recall design consideration details.  This was
designed in 1993, in the POSSO project...

-- 
Torbjörn


More information about the gmp-bugs mailing list