diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-04-20 22:30:56 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-04-21 11:01:58 +0000 |
commit | 759af3e5ad1520937955985bbcfee26f5a400e0f (patch) | |
tree | 76de6b32982e9197e30564711289feda656b3f0e /lib | |
parent | 07942adb77f60738a6043665673d51fc7991233b (diff) |
Centralize the check that the floating point implementation follows IEEE754
C++ does not specify which kind of floating point implementation is
being used. The C Standard doesn't either, but it includes a normative
reference for implementations adoping it (ISO/IEC 9899:2011 Annex F).
There are a few existing checks in qfloat16.cpp; move them to qglobal.cpp
(next to the other, similar checks), and improve them by actually
checking that the radix used for floating point numbers is 2.
Change-Id: I704a3a8efeb51014b3be23fb236654d647a6f44f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions