(no title)
jbert | 10 years ago
y = (x + 1) / atan(x) - x;
x = y; // If you're in a loop and updating some value
If would hope/imagine that a compiler could reduce the two to the same code - and I don't think it reads any worse. Is there a downside beyond the extra line of code?
JoeAltmaier|10 years ago
jbert|10 years ago
Having <LHS> as a name is only useful I think if you don't want to give it another name? I was asking what's the downside of giving it a name.