Hi I found this fft routine in numerical recipes but...what does this line of code mean/do

wr=(wtemp=wr)*wpr-wi*wpi+wr 
is it making an assignment to wtemp then using it to compute a new value fo wr? in that case wouldn't it have been simpler to write

wtemp=wr
wr=wtemp*wpr-wi*wpi+wr
thanks
Posted on 2001-06-12 09:04:00 by MArtial_Code
I think it's a matter of saving a line!
Posted on 2001-06-12 09:16:00 by Jigzy