possible bug in mpz_cmp_d

Niels Möller nisse at lysator.liu.se
Thu Jul 12 08:48:46 UTC 2018


Tom Tromey <tom at tromey.com> writes:

> While adding bignums to Emacs, I found a case where mpz_cmp_d returns a
> value I did not expect.  I don't know if I have done something wrong or
> if this is a bug in GMP.

I see problem has been resolved. I just have a related sugggestion.

May I suggest that you consider using mini-gmp as a fallback, to be able
to always build emacs with half-reasonable bignum support, without making the
real gmp a mandatory dependency? See
https://gmplib.org/repo/gmp/file/tip/mini-gmp/README.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list