Including <limits.h> in gmp-impl.h

Torbjorn Granlund tg at gmplib.org
Fri Jan 3 11:06:51 UTC 2014


Vincent Lefevre <vincent at vinc17.net> writes:

  Note that if you want to care of non-two's-complement
  implementations, you should write:
  
  #define __GMP_USHRT_MAX  (0 + (unsigned short) -1)
  
Is that out-of-range conversion really Proper C?

Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list