DMD 1.029 and 2.013 releases
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Sun Apr 27 14:03:27 PDT 2008
Walter Bright wrote:
>
> http://www.digitalmars.com/d/2.0/changelog.html
In addition, it seems that now the order of evaluation is less
undefined. The following was added in
http://www.digitalmars.com/d/2.0/expression.html
"The following binary expressions are evaluated in strictly
left-to-right order:
OrExpression, XorExpression, AndExpression, CmpExpression,
ShiftExpression, AddExpression, CatExpression, MulExpression,
CommaExpression, OrOrExpression, AndAndExpression "
Also added:
"Associativity and Commutativity
An implementation may rearrange the evaluation of expressions according
to arithmetic associativity and commutativity rules as long as, within
that thread of execution, no observable different is possible.
This rule precludes any associative or commutative reordering of
floating point expressions."
Walter, note the different->difference typo.
Some additions to the float page as well.
And a new FAQ question was added:
"Can't a sufficiently smart compiler figure out that a function is pure
automatically?"
http://www.digitalmars.com/d/2.0/faq.html#pure
--
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d-announce
mailing list