mpf_get_d

Torbjorn Granlund tg at gmplib.org
Tue Dec 15 14:44:32 CET 2009


Paul Zimmermann <Paul.Zimmermann at loria.fr> writes:

  thanks, this indeed fixes the problem (I had checked on gmplib.org for
  "Current release status" but no issue was reported for 4.3.1, should we
  look at another place for known issues?)
  
I have forgot to update it, in the hacking haste for GMP 4.4.
  
  PS: the documentation of mpf_get_d says that for "too big" input an infinity
  is returned. It would be more coherent with the "truncating" mode to return
  the largest representable floating-point number (or its opposite).
  
Perhaps.  But now we have an interface defined, with which we should
remain compatibile.

-- 
Torbjörn


More information about the gmp-bugs mailing list