diff options
author | Eike Rathke <erack@redhat.com> | 2019-01-08 23:40:51 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-01-10 11:55:49 +0100 |
commit | 559758a35216c0cb852de65d129154947a4d91e8 (patch) | |
tree | 0bcc62f5abf7b6cc330756ef4850fd36baf60e2f /sc/Library_sc.mk | |
parent | 60a66bd57d17a2f72fbf852faf1eaad87eac6dec (diff) |
Related: tdf#44076 do not leave cast to int to undefined behaviour
... if the double is an out-of-int-range value.
Also catch domain and pole and range errors.
Move this to it's own sc::power() function that can be reused for
example by ScMatrix::PowOp() to be congruent.
Change-Id: I88331e02e6cdfb5e1dcbf81622d3fc7ce4510478
Reviewed-on: https://gerrit.libreoffice.org/65986
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/Library_sc.mk')
-rw-r--r-- | sc/Library_sc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk index 3ef18fa8723b..9e67772d81f2 100644 --- a/sc/Library_sc.mk +++ b/sc/Library_sc.mk @@ -251,6 +251,7 @@ $(eval $(call gb_Library_add_exception_objects,sc,\ sc/source/core/tool/jumpmatrix \ sc/source/core/tool/listenerquery \ sc/source/core/tool/lookupcache \ + sc/source/core/tool/math \ sc/source/core/tool/matrixoperators \ sc/source/core/tool/navicfg \ sc/source/core/tool/numformat \ |