diff options
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-27 14:50:10 +0200 |
|---|---|---|
| committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-31 16:50:30 +0200 |
| commit | 0792188440e12b211102a1e624828aec46964c9f (patch) | |
| tree | 44a8e6d2bec8103f382fec6b498cfc8325792ead /src/corelib/tools/qsharedpointer.cpp | |
| parent | c95fc0f662f8df6533f6961cc003a2fe2fb739fb (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
