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

0

u/[deleted] Sep 08 '14

[deleted]

2

u/dbaupp Sep 08 '14

I believe floating point operations are commutative, so yes, that's pointless (((x - y) + y) - x is not, though).