summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-09-17 18:19:59 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-10-03 11:09:47 +0200
commitb4efdd376996f98375146d154c1dc7737c0edc38 (patch)
treed4b7a3bacb65b2046db402b5e84bb3c50c8ade2a /src/plugins/platforms/ios
parent2e068c7f2aca6a40bcf1e4c5bc85c26f478fe786 (diff)
Reorganise the qfloat16 auto-test
Its limits() test was rather large and had some overlap with an older qNan() test, that needed some clean-up (it combined qfloat16 values with double and float values in ways that caused qfloat16 to be promoted to another type, so we weren't testing qfloat16). Renamed the qNan() test to qNaN(), separated out the parts of it that actually tested infinity. Moved various parts of limits() to these and rationalised the result. Split out a properties() test from limits() for the properties of the qfloat16 type that are supplied by its numeric_limits. Split out a data-driven finite() test to cover some repeated code that was in limits() and extended it to test more values. Added more tests of isNormal(). Fixed my earlier UK-ish spelling of "optimise", in the process, and identify the processor rather than the virtualization as the context where the compiler errs. Change-Id: I8133da6fb7995ee20e5802c6357d611c8c0cba73 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/ios')
0 files changed, 0 insertions, 0 deletions