qt5base-lts/tests/auto/corelib/global
Edward Welbourne 3abfa4dfff QtTestLib: handle float16 the same as double and float
In QCOMPARE, handle NaNs and infinities the way tests want them
handled, rather than by strict IEEE rules. In particular, if a test
expects NaN, this lets it treat that just like any other expected
value, despite NaN != NaN as float16 values. Likewise, format
infinities and NaNs specially in toString() so that they're reported
consistently.

Enable the qfloat16 tests that depend on this QCOMPARE() behavior.
Refise the testlib selftest's float test to test qfloat16 the same way
it tests float and double (and format the test the same way).

This is a follow-up to 37f617c405.

Change-Id: I433256a09b1657e6725d68d07c5f80d805bf586a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-04-24 13:09:15 +00:00
..
q_func_info Updated license headers 2016-01-21 18:55:18 +00:00
qflags Remove handling of missing Q_COMPILER_CLASS_ENUM 2019-04-06 16:19:14 +00:00
qfloat16 QtTestLib: handle float16 the same as double and float 2019-04-24 13:09:15 +00:00
qgetputenv QByteArray: toInt() and toDouble() ignore surrounding whitespaces 2018-07-07 19:58:18 +00:00
qglobal Replace Q_DECL_NOTHROW with noexcept the remaining places 2019-04-09 14:48:42 +00:00
qglobalstatic tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qhooks tst_qhooks: test that it's possible to chain multiple hooks together 2016-11-18 15:22:32 +00:00
qlogging Remove handling of missing very old compiler feature check 2019-04-06 13:27:15 +00:00
qnumeric Replace a misguided test with a valid one 2019-03-27 13:43:21 +00:00
qrand Updated license headers 2016-01-21 18:55:18 +00:00
qrandomgenerator QRandomGenerator: remove unnecessary cast to float in RandomValueFP 2018-07-29 19:09:16 +00:00
qtendian qendian: Fix float conversions 2018-10-28 22:26:56 +00:00
global.pro Long live QRandomGenerator 2017-06-12 06:14:34 +00:00