Introduce new SIZEOF_MP_LIMB_T derived constant
authorHerbert Valerio Riedel <hvr@gnu.org>
Thu, 16 Jan 2014 20:39:06 +0000 (21:39 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Thu, 16 Jan 2014 20:39:06 +0000 (21:39 +0100)
commitdbb7e640d2856046dd82f134aa3eb6986472f698
tree383af66f741abbe272004a4e060b309e52c576fb
parentfbf7ee1c1206bf889ac03446055014e4a3359eed
Introduce new SIZEOF_MP_LIMB_T derived constant

This allows to simplify code in `float.c` and to encode the
"sizeof(mp_limb_t) != sizeof(W_)" assumption as a compile-time
assertion.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
cbits/float.c
cbits/gmp-wrappers.cmm
mkGmpDerivedConstants/mkGmpDerivedConstants.c