Qt 4.4.0 RC1 released, qt-copy updated

Thorsten Zachmann t.zachmann at zagge.de
Sun Apr 6 20:33:59 BST 2008


On Sunday 06 April 2008, Thiago Macieira wrote:
> Thorsten Zachmann wrote:
> >return qAbs(p1 - p2) < 0.00000000001;
> >
> >Now when one value is 0.0 the and the other is quite small e.g.
> > 2.66454e-15 this will always return false.
> >
> >Should I report that as bug?
>
> No, it's not a bug in Qt, but in the code that is calling qFuzzyCompare.
>
> Suggestion: compare your value plus 1 to 1.

The code that calls qFuzzyCompare is QPainterPath::operator==. So what should 
be done.

Thorsten





More information about the kde-core-devel mailing list