qt5base-lts/tests/auto/corelib/serialization
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
..
json Fix removal of QJsonObject properties when assigning undefined 2019-07-30 11:08:24 +02:00
qcborstreamreader Fix QCborStreamReader not flushing QIODevices due to internal buffering 2019-07-19 12:31:42 -07:00
qcborstreamwriter Long live QCborStreamWriter! 2018-05-27 22:41:41 +00:00
qcborvalue Featurize support for signaling NaN 2019-09-30 20:05:42 +02:00
qcborvalue_json QCborValue: move the toDiagnosticNotation() function to its own file 2018-07-30 16:21:12 +00:00
qdatastream Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
qdatastream_core_pixmap QPixmap: More safe failing if qApp is not a QGuiApplication 2019-03-22 08:06:43 +00:00
qtextstream Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qxmlstream Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
serialization.pro QPixmap: More safe failing if qApp is not a QGuiApplication 2019-03-22 08:06:43 +00:00