4 ms·
Not solved at compile-time, but warned at compile time?
by whimsicalism 5y ago
Not solved at compile-time, but warned at compile time?
- touisteur 5y agoCould be solved at compile time with proof of absence of runtime errors, which somehow forces you to handle all cases for any input.
- menaerus 5y agoWarned about what exactly? Literally any operation on two unsigned integers can either underflow or overflow and any of those would still be correct and expected behavior.