diff options
author | Yukio Siraichi <yukio.siraichi@gmail.com> | 2020-03-09 23:22:20 +0900 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-03-12 10:34:46 +0100 |
commit | 8e173a965d5684372e3fe0ee3d3599032bcb86c2 (patch) | |
tree | 7cd8282e599418b9c5cd1e3667fcba04c787b153 /sc/inc | |
parent | 056ba01ee95db5dfd7df362e72bb418893c4c530 (diff) |
tdf#130977 replace `rtl::math::isFinite` with `std::isfinite`.
- make all calls look like `std::isfinite`.
- change the comments referring `rtl::math::isFinite`.
Change-Id: I0cde9ceb9f20150467b454cddde5e62003cfde1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90234
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 80b6ed17b68b..5c76a657b381 100644 --- a/sc/inc/math.hxx +++ b/sc/inc/math.hxx @@ -53,7 +53,7 @@ inline double divide( const double& fNumerator, const double& fDenominator ) if (fDenominator == 0.0) { double fVal; - if (rtl::math::isFinite( fNumerator) && fNumerator != 0.0) + if (std::isfinite( fNumerator) && fNumerator != 0.0) { rtl::math::setInf( &fVal, rtl::math::isSignBitSet( fNumerator)); } |