3 ms·
It's too much furniture to do that properly. You may want to overflow an integer. Granted, rings of cardinality 2^64 are unusual at best but I've used 8 & 16 bi
by ArkyBeagle 11y ago
It's too much furniture to do that properly. You may want to overflow an integer. Granted, rings of cardinality 2^64 are unusual at best but I've used 8 & 16 bit size rings forever.
UB is just the nature of the beast.
- catwell 11y agoHe was talking about signed integer overflow. Unsigned integer overflow is useful and defined.
- ArkyBeagle 11y agoHe sort of didn't say, so you're probably right. I know that's a PITA. Good thing there are 64 and 128 bit ints.