include/sal/mathconf.h |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

New commits:
commit cb22636a56b35d4e118446cc3c9fe606db6f46b0
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Thu Dec 17 20:44:43 2020 +0100
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Fri Dec 18 01:05:16 2020 +0100

    Add sal_uInt64 fields to sal_math_Double
    
    We may need them later, and at least don't have a confusing
    inf_parts or nan_parts struct name but just parts as well.
    
    Change-Id: Ife0cf279c47d2815aa2a1483223397b147e9d776
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107924
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins

diff --git a/include/sal/mathconf.h b/include/sal/mathconf.h
index 8e5831cde3b5..ab6a4807b59f 100644
--- a/include/sal/mathconf.h
+++ b/include/sal/mathconf.h
@@ -104,6 +104,13 @@ union sal_math_Double
         unsigned msw          :32;
         unsigned lsw          :32;
     } w32_parts;
+    struct
+    {
+        sal_uInt64 sign       : 1;
+        sal_uInt64 exponent   :11;
+        sal_uInt64 fraction   :52;
+    } parts;
+    sal_uInt64 intrep;
     double value;
 };
 
@@ -130,6 +137,13 @@ union sal_math_Double
         unsigned lsw          :32;
         unsigned msw          :32;
     } w32_parts;
+    struct
+    {
+        sal_uInt64 fraction   :52;
+        sal_uInt64 exponent   :11;
+        sal_uInt64 sign       : 1;
+    } parts;
+    sal_uInt64 intrep;
     double value;
 };
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to