sizeof (mp_limb_t) vs sizeof (unsigned long)

Torbjörn Granlund tg at
Tue Feb 20 10:55:47 UTC 2018

paul zimmermann <Paul.Zimmermann at> writes:

  is there any configuration where sizeof (mp_limb_t) < sizeof (unsigned long) ?
Well, we have this in gmp.h:

typedef unsigned int		mp_limb_t;
typedef int			mp_limb_signed_t;

But __GMP_SHORT_LIMB is not set for any config so I suppose the answer
to your question is no.

Please encrypt, key id 0xC8601622

More information about the gmp-discuss mailing list