On Wednesday, 16 October 2019 at 20:07:10 UTC, Adam D. Ruppe wrote:
Notice that the docs say "a negative value" rather than -1 specifically. That's because the implementation for integers an be as simple as

return a - b; // if b > a, you get a negative value

Except that e.g. -2 - int.max underflows to int.max suggesting that int.max < -2.

Reply via email to