[3/3] gdiplus: Make GdipInvertMatrix test pass on native

Dan Kegel dank at kegel.com
Sat Jul 12 19:06:55 CDT 2008

On Sat, Jul 12, 2008 at 4:16 PM, Dan Kegel <dank at kegel.com> wrote:
> Floating point equality comparisons need an error tolerance.
> See e.g.
> http://teaching.idallen.com/cst8110/97s/floating_point.html
> http://docs.hp.com/en/B3906-90006/ch03s05.html
> http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
> http://search.cpan.org/~dagolden/Test-Number-Delta-1.03/lib/Test/Number/Delta.pm

Someone goaded me into finding better links (thanks...), so:

http://code.google.com/p/googletest/ is a test framework that
gets it right, I think.  After peeking at its source, I recalled
the magic buzzword: ULP.  Searching for floating point comparison ULP
finds better links than I found before,  e.g.
- Dan

More information about the wine-devel mailing list