News for hackers. Stuff that matters.
Re:Go 2, here we come by user5994461 on Thursday November 29, 2018 @03:13PM (#18563513)
C only defines char, short, int has having a minimum size of 8, 16 and 32 bits.
Re:Go 2, here we come by mrb on Thursday November 29, 2018 @03:17PM (#18563550)
Actually C defines the minimum size of "int" as 16 bits, because it defines the minimum range it should support as [-32768 .. 32767]

See https://en.wikipedia.org/wiki/C_data_types

Re:Go 2, here we come by shric on Thursday November 29, 2018 @04:52PM (#18564439)
Nit: [-32767 .. 32767] C permits ones' complement and sign-and-magnitude as well as two's complement.
Re:Go 2, here we come by jstimpfle on Thursday November 29, 2018 @03:21PM (#18563591)
no, int is 16 bits minimum