test if an unsigned long fits in a limb.

Torbjorn Granlund tg at gmplib.org
Wed Mar 7 14:22:34 CET 2012

nisse at lysator.liu.se (Niels Möller) writes:

  Is there any other supported platform that has chosen an ABI where
  "Long" is smaller than the native word size?

Several RISCs define an ABI where long and pointers are 32 bits, and
registers and long long are 64 bits.  MIPS n32, HPPA 2.0N, the PowerPC
ABI used by GNU/Linux and *BSD are examples.

It is not clear if 'word' there is 32 bits or 64 bits large...


More information about the gmp-devel mailing list