From: fred@genesis.demon.co.uk (Lawrence Kirby)
Subject: Re: The disturbing myth of Eiffel portability
Date: 1996/11/26
Date: 1996-11-26T00:00:00+00:00 [thread overview]
Message-ID: <848976955snz@genesis.demon.co.uk> (raw)
In-Reply-To: 6LW663dk3RB@herold.franken.de
In article <6LW663dk3RB@herold.franken.de>
jhd@herold.franken.de "Joachim Durchholz" writes:
>fred@genesis.demon.co.uk wrote 24.11.96:
>
>> Financial calculations within (fairly generous) limits can use IEEE
>> floating point and be *proven* correct barring bugs in the implementation.
>> But bugs can affect integer calculations as well.
>
>However, integer bugs are less likely. After all, IEEE format is much more
>complicated (at least in comparison to two's-complement integer). For IEEE
>format, there is room for interpretation (really there isn't, but some
>implementors behave as if there were).
>E.g. the infamous Pentium bug was in the FPU, not in the ALU. Of course
>this is jumping to conclusions from a statistically insignificant
>sample...
Doesn't the Pentium use the FPU for integer division?
>> No
>> format can represent general irrational quantities precisely.
>
>There is one - storing formulae instead of quantities :)
>
>Actually this is feasible - Mathematica and Co. do exactly this. This
>allows them to compute as many digits as required on the fly, without loss
>of precision from intermediate results.
>(Of course there is still a round-off error, but it is always on the last
>printed digits.)
So Mathematica still have to evaluate the formulae at some point when you
need a value and the issue of how you round is still there.
--
-----------------------------------------
Lawrence Kirby | fred@genesis.demon.co.uk
Wilts, England | 70734.126@compuserve.com
-----------------------------------------
prev parent reply other threads:[~1996-11-26 0:00 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-15 0:00 The disturbing myth of Eiffel portability The Rt Rev'd Colin James III, KOTM 1/96
1996-11-17 0:00 ` Lawrence Kirby
1996-11-17 0:00 ` Eoin Woods
1996-11-17 0:00 ` The Rt Rev'd Colin James III, KOTM 1/96
1996-11-18 0:00 ` James Youngman
1996-11-20 0:00 ` Piercarlo Grandi
1996-11-21 0:00 ` Paul Johnson
1996-11-27 0:00 ` Piercarlo Grandi
1996-11-28 0:00 ` Don Harrison
1996-11-29 0:00 ` Piercarlo Grandi
1996-11-29 0:00 ` Robert Dewar
1996-11-29 0:00 ` Robert Dewar
1996-11-29 0:00 ` Piercarlo Grandi
1996-11-29 0:00 ` Don Harrison
1996-11-30 0:00 ` Piercarlo Grandi
1996-12-01 0:00 ` Jon S Anthony
1996-12-02 0:00 ` Piercarlo Grandi
1996-11-20 0:00 ` Jeff Miller
1996-11-20 0:00 ` Piercarlo Grandi
1996-11-18 0:00 ` Stephen J Bevan
1996-11-19 0:00 ` Kaz Kylheku
1996-11-19 0:00 ` Robert Dewar
1996-11-20 0:00 ` Larry Kilgallen
1996-11-21 0:00 ` Robert Dewar
1996-11-22 0:00 ` Larry Kilgallen
1996-11-22 0:00 ` Robert Dewar
1996-12-01 0:00 ` Graham C. Hughes
1996-12-01 0:00 ` Robert Dewar
1996-12-02 0:00 ` Brian R. Hanson
1996-12-06 0:00 ` Robert Dewar
1996-12-09 0:00 ` Brian R. Hanson
1996-11-26 0:00 ` Van Snyder
1996-11-22 0:00 ` Ken Garlington
1996-11-25 0:00 ` Robert Dewar
1996-11-20 0:00 ` Matt Kennel
1996-11-22 0:00 ` Robert Dewar
1996-11-21 0:00 ` Francois Labreque
1996-11-21 0:00 ` Kaz Kylheku
1996-11-24 0:00 ` Robert Dewar
1996-11-21 0:00 ` Keith Thompson
1996-11-21 0:00 ` Robert Dewar
1996-11-22 0:00 ` Norman H. Cohen
1996-11-24 0:00 ` Lawrence Kirby
1996-11-20 0:00 ` James Mansion
1996-11-20 0:00 ` Kaz Kylheku
1996-11-25 0:00 ` Joachim Durchholz
1996-11-26 0:00 ` Lawrence Kirby [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox