Let\'s say I have three 32-bit floating point values, a, b, and c, such that (a + b) + c != a + (b + c). Is there a summa
I am not quite sure that (a + b) + c != a + (b + c) when doing arithmetic in a program.
However the rule of thumb with using floating point arithmetic on present day hardware is to never directly test for equality.
For whatever application you have you should choose an epsilon that is small enough and use
(abs(a - b) < epsilon)
as the equality test.