On Thu, May 28, 2020 at 7:19 PM Chip Davis cdavis@codeweavers.com wrote:
It avoids a corner case where the difference between the two is really large. Partly for this reason, Clang warns when the argument to an abs(3) function is unsigned, even after I tried to get them to stop doing it for differences.
So it's primarily to silence a warning? It's not clear to me when abs would behave differently.