Small limb-size in mini-gmp?
Vincent Lefevre
vincent at vinc17.net
Sun Nov 17 00:43:02 UTC 2019
On 2019-11-17 01:00:14 +0100, Torbjorn Granlund wrote:
> We cannot use uint8_t as it is not a builtin type, as you know.
I don't understand why you need a builtin type.
It should work by conditionally including <stdint.h>.
Alternatively, you can predefine some types, e.g.:
typedef unsigned char gmp_uchar_t;
then one could use -DMINI_GMP_LIMB_TYPE=gmp_uchar_t
--
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
mailing list