summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-27 14:50:10 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-31 16:50:30 +0200
commit0792188440e12b211102a1e624828aec46964c9f (patch)
tree44a8e6d2bec8103f382fec6b498cfc8325792ead /src/corelib/tools/qsharedpointer.cpp
parentc95fc0f662f8df6533f6961cc003a2fe2fb739fb (diff)
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>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions