It is a bit embarrassing to ask this question, but I don't know how to make sense of this. While doing something else, I ran this calculation in R:
(-3/5*2) + (2/5*3)
[1] 2.220446e-16
The output should actually be 0, so I don't understand where R's output came from. I tried restarting R and expressing this calculation in different ways (e.g. with decimals instead of fractions). Also, if I replace the second term, now R gives me the expected output:
(-3/5*2) + 6/5
[1] 0
Any thoughts?