We use
x += y
instead of
x = x + y
And similarly for *,/,- and other operators. Well, what about
*,/,-
The options you have:
x = std::min(x,y)
or
x = y < x ? y : x;
if (y < x) x = y;