|
|
|
|
|
by jbert
3849 days ago
|
|
Is there a significant benefit to this over using a new name for the result? 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? |
|