qt5base-lts/tests/auto/corelib/global/qfloat16
Allan Sandfeld Jensen 0792188440 Add float->qfloat16 rounding and fix the tests
Our hardware optimized conversions of float to qfloat16 rounds to even
where our table based conversion truncated to zero.

The rounding is not in this patch exactly round to even like the
hardware implementation but much closer.

Change-Id: I4c5e72c15fef9079d3660680b2727ff7ba4e768a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-31 16:50:30 +02:00
..
CMakeLists.txt CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qfloat16.pro New qfloat16 class 2017-01-31 14:21:42 +00:00
tst_qfloat16.cpp Add float->qfloat16 rounding and fix the tests 2020-07-31 16:50:30 +02:00