[PATCH 03/12] gdiplus: Introduce absdiff helper.

Chip Davis cdavis at codeweavers.com
Thu May 28 19:19:21 CDT 2020


May 28, 2020 7:04 PM, "Esme Povirk (they/them)" <vincent at codeweavers.com> wrote:

> What's the advantage over abs?

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.

Chip



More information about the wine-devel mailing list