diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-11 11:45:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-11 13:59:35 +0200 |
commit | 5b9b07dcb3e0065ddb616a0a5b0e69c1c3841fa7 (patch) | |
tree | 02b6fdfabb05b12cdab9b4de3031eedbd4f32e64 /sal | |
parent | e6e5d90121aebf1aa617a43f5685ffaa8b7e8aba (diff) |
Revert "Disable -fsanitize=float-divide-by-zero in rtl_math_atanh"
This reverts commit 6a4504bba84dcbaeb71869ec5c9ed6dfdc090619, which is no longer
necessary after 6f75ec6115f0152517be634070607bc61bf96dd0 "tdf#148430 Use atanh
from <cmath> instead of our own" changed the implementation of rtl_math_atanh.
Change-Id: I11094f8c9fb0bb7b635541e7360e460816d3c171
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134161
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/math.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index b53cbec144b3..0d70e9718bfd 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -765,9 +765,6 @@ double SAL_CALL rtl_math_log1p(double fValue) SAL_THROW_EXTERN_C() } double SAL_CALL rtl_math_atanh(double fValue) SAL_THROW_EXTERN_C() -#if defined __clang__ - __attribute__((no_sanitize("float-divide-by-zero"))) // atahn(1) -> inf -#endif { return ::atanh(fValue); } |