Always false float comparisons
Joseph Rushton Wakeling via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 15 13:48:22 PDT 2016
On Sunday, 15 May 2016 at 18:30:20 UTC, Walter Bright wrote:
> If you wrote it "to not break if the floating-point precision
> is enhanced, and to allow greater precision to be used when the
> hardware supports it" then what's the problem?
>
> Can you provide an example of a legitimate algorithm that
> produces degraded results if the precision is increased?
No, but I think that's not really relevant to the point I was
making. Results don't have to be degraded to be inconsistent.
More information about the Digitalmars-d
mailing list