News for hackers. Stuff that matters.
Re:Should I Use Signed or Unsigned Ints? (Part 2) by desdiv on Wednesday September 02, 2015 @12:34AM (#10157444)
>You should assume that an int is at least 32 bits, but don't assume that it has more than 32 bits.

I thought the spec[0][1] only guarantees int to be at least 16 bits? Am I missing something here?

[0] http://www.cplusplus.com/doc/tutorial/variables/

[1] http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf

Re:Should I Use Signed or Unsigned Ints? (Part 2) by IshKebab on Wednesday September 02, 2015 @03:12AM (#10157822)
True, but in practice I think the only place you'd find a 16-bit int today is with Arduino, but that is only because it is based on an archaic architecture.

All ARM and Intel chips have 32-bit ints.