Re:Checked C
by elcritch on Wednesday December 21, 2022 @03:27PM
(#34085967)
Yah but you can't have "unsigned unsigned". You can and do have "long long", or possibly a "long long long" in addition to the saner "long int".
[ Parent
| on HN ]
Re:Checked C
by constantcrying on Wednesday December 21, 2022 @03:37PM
(#34086072)
>Yah but you can't have "unsigned unsigned".
Seems like a good thing to be honest.
Lets not give the C committee ideas ;)
But actually I'd suggest the opposite of disallowing "long long" and making it like signed/unsiged as purely a modifier.
What would you use for your 64-bit integer type, then?
int64_t
Long long is not even a 64 bit integer type, it’s a int_least64_t. Could be 128 or 256 bits for all you know.