float equality

Walter Bright newshound2 at digitalmars.com
Sat Feb 19 20:46:50 PST 2011


bearophile wrote:
> Walter:
> 
>> That'll just trade one set of problems for another.
> 
> But the second set of problems may be smaller :-)

There's a total lack of evidence for that. Furthermore,

1. Roundoff error is not of a fixed magnitude.

2. A user may choose to ignore roundoff errors, but that is not the prerogative 
of the language.

3. What is an acceptable amount of roundoff error is not decidable by the language.

4. At Boeing doing design work, I've seen what happens when engineers ignore 
roundoff errors. It ain't pretty. It ain't safe. It ain't correct.


More information about the Digitalmars-d mailing list