diff options
author | Yukio Siraichi <yukio.siraichi@gmail.com> | 2020-03-14 02:33:55 +0900 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-03-14 09:10:34 +0100 |
commit | 8f8b64cad377c6d767cdf291fd00225658bd02c5 (patch) | |
tree | de5f87582bf88b030f57742109aaa289f18e428c /basegfx | |
parent | 2eb0e7594cc875dd0960822d9403b573ac00f739 (diff) |
tdf#130974 replace `rtl::math::isSignBitSet` with `std::signbit`.
Change-Id: I91235eee8c6a9d4a59c1933527b49141f64cd91b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90478
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolygontools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index 1cb61585e2b4..1a5297e967b1 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -2202,7 +2202,7 @@ namespace basegfx::utils /// return 0 for input of 0, -1 for negative and 1 for positive input int lcl_sgn( const double n ) { - return n == 0.0 ? 0 : 1 - 2*int(rtl::math::isSignBitSet(n)); + return n == 0.0 ? 0 : 1 - 2*int(std::signbit(n)); } } |