Re: Doubt about formula transcription



"glen herrmannsfeldt" <gah@xxxxxxxxxxxxxxxx> wrote in message
news:9NidnaRYwaLYNGbanZ2dnUVZ_o3inZ2d@xxxxxxxxxxxxxx

Constant folding yes, but commutativity and associativity
are different.

Not really. It's something that's easy to do,
and would routinely be done in the following cases:
If one operand is already in a register and the other not,
then the one that's not in memory is added or multiplied
with the value that's already in a register.
Logical "and" and logical "or" with the builtins are done
the same way.

But still, nothing can be guaranteed.


.