summaryrefslogtreecommitdiff
path: root/include/sal/mathconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sal/mathconf.h')
-rw-r--r--include/sal/mathconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/sal/mathconf.h b/include/sal/mathconf.h
index 687f6e3da133..11bd32c35de0 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;
};