[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Clause 10, Expression Evaluation
On Fri, 13 Jul 2007 03:26:05 +0900, David James <dvj@xxxxxxxxxxxx> wrote:
IMHO, one needs to:
1) Unambiguously define all operations.
I am in complete agreement.
2) Clearly list all options.
I agree as far an options are about operations, formats and so on,
but ...
3) Specify which options are part of the "repeatibility" suite.
... we seem to be somehow falling off the "arithmetic" boat into
the "expression semantics" swamp. That swamp is the preserve of
the language alligators - be careful or you'll get eaten!
Sorry, but the idea that 754R should pontificate on How Languages Should
Support Users Debugging Their Programs is (IMO!) just wrong. It has
little or nothing to do with standardising arithmetic.
Not to mention my strong disagreement with the suggested mechanisms.
As my misunderstood analogy went, there is little point in a special
"go-slow" mode that is reproducible when the production mode does not
have those characteristics.
4) Provide guidance on how languages "could" follow through,
to ensure repeatability, within an informative annex.
Do languages *really* need guidance on that? I don't think so.
To the extent that a language cares about repeatability, it will
already be doing things to support repeatability; if the arithmetic
operations are defined properly in 754R, that is highly likely already
to result in repeatability.
To the extent they don't (care), they don't,
and shouldn't be told that they should!
Cheers,
--
Malcolm Cohen, Nihon Numerical Algorithms Group KK, Tokyo, Japan.