3 ms·
The big one (for me) is that it's really annoying having one more negative value than positive value. Most software doesn't handle this properly, they don't re
by CJefferson 8y ago
The big one (for me) is that it's really annoying having one more negative value than positive value.
Most software doesn't handle this properly, they don't realise abs doesn't always return a positive number (as abs(INT_MIN)=INT_MIN), and many other similar problems.
In an ideal world, I would only use unsigned when you care about things like being able to use all bit representations, then have made the all-1s number something like NaN, for ints.