Small limb-size in mini-gmp?
vincent at vinc17.net
Thu Nov 14 02:06:19 UTC 2019
On 2019-11-13 22:20:18 +0100, Niels Möller wrote:
> tg at gmplib.org (Torbjörn Granlund) writes:
> > 2. follow Marco's proposal allowing "char", "short", "int", "long", and
> > perhaps the spacey "long long" as overriding types, or
> I guess that's good enough for now. But is it that difficult to do
> quoting of "unsigned char"? Something like
> make check-mini-gmp CPPFLAGS='-D"MINI_GMP_LIMB_TYPE=unsigned char"'
> (I don't remember trying to use -D with spaces in the expansion, but it
> can't be unheard of).
How about using uint8_t instead?
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the gmp-devel