Il 2019-11-12 16:25 ni...@lysator.liu.se ha scritto:
t...@gmplib.org (Torbjörn Granlund) writes:
so I'll wait until there is a defined method of
controlling its declaration.)
Then we'd need something like
#ifndef MINI_GMP_LIMB_TYPE
#define MINI_GMP_LIMB_TYPE unsigned long
#endif
typedef MINI_GMP_LIMB_TYPE mp_limb_t
in mini-gmp.h.
Seems clean and straightforward.
Is something like the following too tricky?
#ifndef MINI_GMP_LIMB_TYPE
#define MINI_GMP_LIMB_TYPE long
#endif
typedef unsigned MINI_GMP_LIMB_TYPE mp_limb_t
As only unsigned types are supported...
Then, should we adapt the Makefile target check-mini-gmp in such a way
that it can handle
make MINI_GMP_LIMB_TYPE=char check-mini-gmp
?
Ĝis,
m
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel