Test questions: defining test structures as global variables and quick floating point reference

Dan Kegel dank at kegel.com
Thu Jul 15 10:51:45 CDT 2010

Misha wrote:
> 2) Finally, as you have noticed, per Dan's advice, I have implemented
> this function:
> ...
> These seem, if anything, much simpler, and, I have noticed in the case
> of very complicated test data, more accurate.
> I am going to change my code to use these latter functions, even though
> they are not technically as good comparators as my current ones.

If the simpler routines work, that's fine, go with what's most readable.
It's still good to know about the issues raised in
for those times when it's hard to figure out the right epsilon ahead of time.
- Dan

More information about the wine-devel mailing list