qt5base-lts/tests/auto/corelib
Thiago Macieira ac2bde9caf QVariant: make sure two floating points compare equal if they are equal
Not just fuzzily equal. The fuzzy comparison fails for infinities, since
the expression p1 - p2 where p1 = p2 = infinity is NaN. And NaN
comparisons are always false.

As a nice side-effect, we don't do the more expensive computation of a
multiplication if the two numbers really are equal.

Task-number: QTBUG-50036
Change-Id: I11f559ef75544c50b3f8ffff1420cec7c7273295
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-01-11 05:20:23 +00:00
..
animation Extend tst_QPauseAnimation::pauseAndPropertyAnimations blacklist 2015-06-20 15:25:58 +00:00
codecs fix usage of wince scope 2015-06-05 10:29:10 +00:00
global Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
io Blacklist failing tst_QFile tests (OS X) 2016-01-06 09:38:55 +00:00
itemmodels tst_QItemModel: Use a QTemporaryDir for test data of QDirModel. 2015-11-27 22:50:26 +00:00
json Fix QJsonValue::fromVariant() if the variant contains a json object 2015-12-22 10:00:46 +00:00
kernel QVariant: make sure two floating points compare equal if they are equal 2016-01-11 05:20:23 +00:00
mimetypes QMimeDatabase: follow symlinks when checking for FIFO etc. 2015-12-29 11:06:13 +00:00
plugin Autotest: remove AIX-related QT_POINTER_SIZE code 2015-10-23 18:10:22 +00:00
statemachine Add a test case for conflicting transitions 2015-10-30 21:15:38 +00:00
thread Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
tools QDate: fix calculation of the week number for the last days of 2020 2016-01-09 09:13:44 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00