mpf_get_d_2exp ignores sign of input

Torbjörn Granlund tg at
Tue Mar 7 13:48:50 UTC 2017

Claude Heiland-Allen <claude at> writes:

  mpf_get_d_2exp() always returns a non-negative value, even for negative
  input.  I think this is a bug.
The function works as documented.  No bug.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list