Il 2019-11-13 16:28 Vincent Lefevre ha scritto:
On 2019-11-12 22:22:00 +0100, Marco Bodrato wrote:
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...

Unsigned types do not necessarily start with "unsigned".
Example: uint128_t

I know.
I did hope that "unsigned" were just a modifier...

But it seems that a line like the following is not allowed

typedef unsigned uint128_t mp_limb_t

I do not understand why...

Ĝis,
m
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to