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 /sc/inc | |
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 'sc/inc')
-rw-r--r-- | sc/inc/math.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/math.hxx b/sc/inc/math.hxx index 5c76a657b381..4d59d9a17a9a 100644 --- a/sc/inc/math.hxx +++ b/sc/inc/math.hxx @@ -55,7 +55,7 @@ inline double divide( const double& fNumerator, const double& fDenominator ) double fVal; if (std::isfinite( fNumerator) && fNumerator != 0.0) { - rtl::math::setInf( &fVal, rtl::math::isSignBitSet( fNumerator)); + rtl::math::setInf( &fVal, std::signbit( fNumerator)); } else { |