This could be explained by the compiler knowing to perform the constant folding in an order that reduces the risk of loss of precision.
So do the addition and subtraction as separate steps.
- tye
In reply to Re^3: Okay! What!?!?!? (order)
by tye
in thread Okay! What!?!?!?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |