Previous | Next --- Slide 72 of 87
Back to Lecture Thumbnails
qlsong

Why is "value += sign * numer / denom" an independent operation from "numer = x[i] * x[i]" and "denom *= (2j+2) * (2*j+3)"?

If "numer = x[i] * x[i]" and "denom *= (2j+2) * (2*j+3)" are executed before "value += sign * numer / denom", then "numer" and "denom" have changed before "value += sign * numer / denom" is executed and so "value" will change. The "value" in "value += sign * numer / denom" depend upon the value of "numer" and "denom".

Thanks.