test if an unsigned long fits in a limb.

Torbjorn Granlund tg at gmplib.org
Tue Mar 6 22:25:10 CET 2012


nisse at lysator.liu.se (Niels Möller) writes:

  One can have alternative functions accepting mp_limb_t and
  mp_limb_signed_t, if one finds that useful.

That would be nice, and so would functions accepting long long.

But unfortunatly, neither is possible if we want one GMP interface per
release, since some compilers do not support these types (but could well
compile user code which links beautifully to GMP).

-- 
Torbjörn


More information about the gmp-devel mailing list