where parens imply order of evaluation, which isn't always the case
This has been bugging me. Which language would that be? Given
$small+($huge1-$huge2)
I know that Perl and C doesn't define whether $small or $huge1-$huge2 is evaluated first, but nowhere I've seen has mentioned that they can apply mathematical equivalence rules that don't work with floats to refactor equations. The LHS of the "+" in the code will be used as the LHS of the "+" operator, and similarly for RHS.
In reply to Re^5: Why does perl math suck? (order)
by ikegami
in thread Why does perl math suck?
by sharkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |