From 3ab7016632c825949f32b72d06ac324b6672b9f6 Mon Sep 17 00:00:00 2001 From: Glen Mabey Date: Sat, 22 Jun 2013 19:43:46 -0500 Subject: New qfloat16 class This constitutes a fairly complete submission of an entirely new floating point type which conforms to IEEE 754 as a 16-bit storage class. Conversion between qfloat16 and float is currently performed through a sequence of lookup tables. Global-level functions qRound(), qRound64(), qFuzzyCompare(), qFuzzyIsNull(), and qIsNull() each with a qfloat16 parameter have been included for completeness. [ChangeLog][QtCore] Added new qfloat16 class. Change-Id: Ia52eb27846965c14f8140c00faf5ba33c9443976 Reviewed-by: Thiago Macieira --- src/tools/qfloat16-tables/qfloat16-tables.pro | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/tools/qfloat16-tables/qfloat16-tables.pro (limited to 'src/tools/qfloat16-tables/qfloat16-tables.pro') diff --git a/src/tools/qfloat16-tables/qfloat16-tables.pro b/src/tools/qfloat16-tables/qfloat16-tables.pro new file mode 100644 index 0000000000..a7d10ac197 --- /dev/null +++ b/src/tools/qfloat16-tables/qfloat16-tables.pro @@ -0,0 +1,9 @@ +option(host_build) + +CONFIG += force_bootstrap +SOURCES += gen_qfloat16_tables.cpp + +load(qt_tool) + +lib.CONFIG = dummy_install +INSTALLS = lib -- cgit v1.2.3