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

Niels Möller nisse at lysator.liu.se
Thu Jan 2 19:55:07 UTC 2014


Marc Glisse <marc.glisse at inria.fr> writes:

> So, do you agree with the change?

Yes. I don't understand why the C spec doesn't define USHORT_MAX the way
it does, but we should nevertheless define our constant in the same way
as C's USHORT_MAX.

> (care to add a suitable comment?)

I think the comment could be improved. But if you intend to remove the
definition soon anyway, it doesn't matter.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list