Jan. 23, 2024
12:55 p.m.
Paul Eggert via tz said:
The only types guaranteed to be free of padding bits are signed char, unsigned char,
char,
and (if they exist) the intN_t and uintN_t types. In the C standard the intN_t and uintN_t types are optional; POSIX requires them only for N equal to 8, 16, and 32.
C requires them for N equal to 8, 16, 32, and 64 if the implementation has a type with the required properties. So they would be required on things like x86 and ARM architectures. -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646