qt5base-lts/tests/auto/corelib/global
Edward Welbourne 4bd6cd1992 Featurize support for signaling NaN
One of our compilers for emscripten coerces all signaling NaNs to
quiet ones, so won't do any actual signaling. Anyone relying on them
to do so shall be disappointed, so it's better that they know about it
at compile-time - or, at least, have the ability to find it out.

Put the signaling NaN producers (and remaining (test) code using them)
under the control of a feature that's disabled when numeric_limits
claims double has no signaling NaN. Assume the bootstrap library
doesn't need signaling NaNs. Sadly, until C++20 <bit>, there's no
contexpr way to test that alleged signalling and quiet NaNs are
actually distinct.

Added some auto-tests for signaling NaN, including that it's distinct
from quiet NaN. Any platform on which the last fails should disable
this feature.

Task-number: QTBUG-77967
Change-Id: I57e9d14bfe276732cd313887adc9acc354d88f08
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2019-09-30 20:05:42 +02:00
..
q_func_info Updated license headers 2016-01-21 18:55:18 +00:00
qflags Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qfloat16 Merge remote-tracking branch 'origin/5.13' into dev 2019-06-14 13:45:18 +02:00
qgetputenv QByteArray: toInt() and toDouble() ignore surrounding whitespaces 2018-07-07 19:58:18 +00:00
qglobal Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
qglobalstatic Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qhooks tst_qhooks: test that it's possible to chain multiple hooks together 2016-11-18 15:22:32 +00:00
qlogging Conditionally disable parts of the tests testing the deprecated APIs 2019-08-01 13:51:18 +02:00
qnumeric Featurize support for signaling NaN 2019-09-30 20:05:42 +02:00
qrand Updated license headers 2016-01-21 18:55:18 +00:00
qrandomgenerator Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02: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