Answer from cs61c-bx (Tuan Ha 16989532) for Question 3 I think it's because by writing (0.5 - x) + 0.5 instead of 1.0 - x because it's more precise and in the old days, the compiler is less flexible. Nowadays, the compiler is more advanced so that it can handle more statements more precisely.