On Thu, Jul 4, 2019 at 9:55 AM Boris Zbarsky <bzbar...@mit.edu> wrote:
> > never use any unsigned type unless you work with bitfields or need 2^N 
> > overflow (in particular, don't use unsigned for always-positive numbers, 
> > use signed and assertions instead).
> Do you happen to know why?  Is this due to worries about underflow or
> odd behavior on subtraction or something?

I don't _know_, but most like they want to benefit from optimizations
based on overflow being UB.

Henri Sivonen
dev-platform mailing list

Reply via email to