Comparing double and float values

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu May 12 09:03:44 PDT 2011


On 5/12/11 11:00 AM, Abid H. Mujtaba wrote:
> Thanks for the answer. I guess the correct technique would be to
> define an "equality" function with a tolerance within 1e-08. I guess I
> should head over to the TDLP errata section and point out that the
> example code needs to be fixed to allow for this possibility.

Thanks for considering adding to the errata. Which particular example on 
page 143 fails?

Andrei


More information about the Digitalmars-d mailing list