qt5base-lts/tests/auto/corelib
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
..
animation Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
codecs Port from QStringViewLiteral to u"" 2019-07-29 11:17:28 +03:00
global Featurize support for signaling NaN 2019-09-30 20:05:42 +02:00
io Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
itemmodels Itemmodel tests: remove foreach usage 2019-08-19 19:10:06 +02:00
kernel Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
mimetypes Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
plugin Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
serialization Featurize support for signaling NaN 2019-09-30 20:05:42 +02:00
statemachine test: migrate QStateMachine test to QRegularExpression 2019-06-10 19:23:42 +00:00
text Deprecate QStringViewLiteral 2019-08-10 22:13:49 +02:00
thread Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
time MS TZ data: avoid calculating a date in year 0 2019-09-13 10:47:41 +02:00
tools Long live QSize(F)::grownBy/shrunkBy() 2019-08-22 11:38:54 +02:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00