Re:When ‘int’ is the new ‘short’
by stinos on Wednesday July 08, 2015 @05:25AM
(#9850636)
> So you would use int if your expression can yield a negative value.
Of course, but as you say it yourself: if. It seems a bit too general to abandon unsigned completely because there are cases where it is not appropriate. By that logic there wouldn't be much types one can use at all.
Of course, but as you say it yourself: if. It seems a bit too general to abandon unsigned completely because there are cases where it is not appropriate. By that logic there wouldn't be much types one can use at all.