I have a question that I'd love to google but I have no idea on what to ask her/she/it (google :) )
Having found assignments like this in several example codes (this particular one originated here where they copied the code from the Numerical Recipes in C p. 508) on the net.
I tried to understand the usage of the assignment in the following line:
wr = (wtemp = wr) * wpr - wi * wpi + wr;
as far as my own understanding of programming logic goes, I would translate it to
wtemp = wr;
wr = wtemp * wpr - wi * wpi + wr;
is that correct? or should it be wpr * wpr - wi [...]
? or something completely different :D?
(according to wikipedia the assignment operator returns a reference to the assignee, which according to the free dictionary - i checked to be sure - is the value which something is being assigned to)