On 10/2/20 1:03 PM, Alejandro Colomar wrote:
I know it's not in stdint,
but I mean that it behaves as any other stdint type.

It doesn't. There's no portable way to use scanf and printf on it. You can't reliably convert it to intmax_t. It doesn't have the associated _MIN and _MAX macros that the stdint types do. It's a completely different animal.

If all you need are a few bit-twiddling tricks on x86-64, it should work. But watch out if you try to do something fancy, like multiply or divide or read or print or atomics. There's a good reason it's excluded from intmax_t.

Reply via email to