[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Clause 10, Expression Evaluation
On 2007-08-02 11:06:06 +0900, Malcolm Cohen wrote:
(b) It is true that binary FP is more accurate for computations with
binary FP numbers. It is certainly untrue that it is accurate
for computations with decimal FP numbers. Decimal FP can compute
1/10 with perfect accuracy, binary FP cannot.
On inexact data, this also depends on the significand size of both
formats.
Performance is like security - you can't add it to a program, you either
design it in in the first place or it's not there.
OK, that's a significant exaggeration, and (especially with smaller
programs) one *can* "evolve" them towards higher performance - but I think
it's generally true; in my experience evolving something towards higher
performance usually requires throwing it away and designing a higher
performance version from scratch! (Others' experience might differ.)
Yes, I think this is the opposite. Software is nowadays written in a
modular way, so that you can often gain performance by rewriting some
parts only instead of rewriting everything from scrath.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)