On Friday 30. November 2012 09.23.32 Samuel Rødal wrote: > Yep, having something similar to AlmostEqualUlpsAndAbs() would be great. > I've had some ideas of making qFuzzyCompare work that way in the past, > but gave them up due to not wanting to risk subtly breaking a lot of > existing code. Introducing a new function, with default but customizable > arguments for the max differences, sounds like the way to go. > > The following tasks might be relevant: > https://bugreports.qt-project.org/browse/QTBUG-26453 > https://bugreports.qt-project.org/browse/QTBUG-16819
Hi, Is qFuzzyCompare compatible with ECMAScript standard for float comparision? It would not be good if sometimes two, const floats are equals and somtimes not. Cheers, Jedrek _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
