3 ms·
>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
by desdiv 11y ago
>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/ http://www.cplusplus.com/doc/tutorial/variables/
[1] http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf
- IshKebab 11y agoTrue, 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.