Add <limits.h> integer width macros
Paul Eggert
eggert@cs.ucla.edu
Wed Sep 14 19:07:00 GMT 2016
On 09/13/2016 10:49 AM, Joseph Myers wrote:
> +# define UINT_WIDTH 32
Dumb question: In the latest draft I could find
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1899.pdf>, these
macros are supposed to be expressions of type size_t. Was this changed
from 'size_t' to 'int' in the final standard? That would make sense, as
these values are likely to be used in shift-width contexts where
negative numbers can be useful.
More information about the Libc-alpha
mailing list