I've just been learning about floating point numbers and am having difficulty understanding how I am supposed to find 3 double values (let's say a, b, and c) so that:
(a + b) + c == 1.0 and a + (b + c) == 0.0
I've read several web pages and watched videos about what floating points are but I have no idea how I should find something like this. I tried different numbers but only get much smaller differences in my outcomes. e.g.
(1.1 - 0.2) + 0.1 = 1.0000000000000002
1.1 +(-0.2 + 0.1) = 1.0