mpf_get_d_2exp ignores sign of input

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


Claude Heiland-Allen <claude at mathr.co.uk> 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.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list