qt5base-lts/tests/auto/gui/painting
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
..
qbrush Remove QLatin1Literal usages 2019-06-10 16:50:31 +00:00
qcolor Merge remote-tracking branch 'origin/dev' into 5.14 2019-08-27 09:45:52 +02:00
qcolorspace Remove BT.2020 support from QColorSpace 2019-09-08 16:19:14 +02:00
qpagelayout Updated license headers 2016-01-21 18:55:18 +00:00
qpagesize Updated license headers 2016-01-21 18:55:18 +00:00
qpaintengine Updated license headers 2016-01-21 18:55:18 +00:00
qpainter Merge remote-tracking branch 'origin/dev' into 5.14 2019-08-27 09:45:52 +02:00
qpainterpath Featurize support for signaling NaN 2019-09-30 20:05:42 +02:00
qpainterpathstroker Updated license headers 2016-01-21 18:55:18 +00:00
qpathclipper Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
qpdfwriter Tests: Fix some warnings about deprecated functions not under test 2019-05-27 15:29:16 +02:00
qpen Replace qMove with std::move 2019-04-06 11:00:38 +00:00
qpolygon Add QPolygon::intersects() methods 2017-05-18 08:55:16 +00:00
qregion Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
qtransform Fix QTransform::transposed() result having wrong transformation type 2018-06-06 08:59:20 +00:00
qwmatrix Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
painting.pro Long live QColorSpace and friends 2019-02-08 10:12:05 +00:00