News for hackers. Stuff that matters.
Re:A Special Kind of Hell: intmax_t in C and C++ by young_unixer on Sunday December 06, 2020 @12:28AM (#25321318)
The standard requires longs to be at least 32 bits wide. Then how can int32_t not exist?

And C99 requires long longs to be at least 64 bits wide.

Re:A Special Kind of Hell: intmax_t in C and C++ by josefx on Sunday December 06, 2020 @04:11AM (#25322226)
While that isn't really relevant as the sizes used by my example could just be larger (if intmax_t worked as intended, which of course it doesn't), the fixed width types are all optional. For example on systems that use ones complement you would have a intmax_t, but no int32_t or any of the others.
Re:A Special Kind of Hell: intmax_t in C and C++ by pjmlp on Sunday December 06, 2020 @01:58AM (#25321710)
When targeting an 8 or 16 bit processor.