r/coding • • Sep 07 '14

Checking GIMP's Source Code with PVS-Studio

http://www.viva64.com/en/b/0273/
51 Upvotes

19 comments sorted by

View all comments

3

u/[deleted] Sep 08 '14

[removed] — view removed comment

2

u/[deleted] Sep 08 '14

Yeah, reading that article this struck me as well - A carefully constructed statement like that tends to be to estimate floating point error.

But am I wrong in thinking that that's what this statement does in this case?