On Monday, 5 February 2018 at 22:52:41 UTC, Steven Schveighoffer wrote:
But I can't see why there is controversy over negation of byte turning into an int. I can't see why anyone would expect:

int x = -b;

when b is -128, to set x to -128. The integer promotion makes complete sense to me.

Do you feel the same way about

float x = 1/2;

?

Reply via email to