return (7.5625*(position-=(1.5/2.75))*position + .75);
However, when someone else was ported them to C++, the person porting did this:
float postFix = position-=(1.5f / 2.75f); return (7.5625f * (postFix) * position + 0.75f);
Presumably because the order that "position -= n" is called is undefined behavior? It could be resolved before or after the second use of 'position' is resolved, right?
But the change seems rather silly to me, because isn't the altered code identical to:
position -= (1.5f / 2.75f); return (7.5625f * position * position + 0.75f);
Why bother having a identical copy of 'position' be called 'postFix'. Wouldn't they hold the same value?