diff options
author | Yukio Siraichi <yukio.siraichi@gmail.com> | 2020-03-13 15:41:40 +0900 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-03-14 09:19:00 +0100 |
commit | 3bf3face224a7e12ba95888821a0ac21525af22c (patch) | |
tree | 93908386dd614404e46898ae16ee179549a1a0f9 /scaddins | |
parent | 8f8b64cad377c6d767cdf291fd00225658bd02c5 (diff) |
tdf#130975 replace `rtl::math::isNan` with `std::isnan`.
Change-Id: I5d53e6369d35093445b2efd8936bbf8c6775ff47
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90451
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/financial.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/analysis/financial.cxx b/scaddins/source/analysis/financial.cxx index c32f61ed5700..cf41b268eed7 100644 --- a/scaddins/source/analysis/financial.cxx +++ b/scaddins/source/analysis/financial.cxx @@ -561,8 +561,8 @@ double SAL_CALL AnalysisAddIn::getXirr( } while( bContLoop && (++nIter < nMaxIter) ); nIter = 0; - if ( ::rtl::math::isNan(fResultRate) || std::isinf(fResultRate) - ||::rtl::math::isNan(fResultValue) || std::isinf(fResultValue)) + if ( std::isnan(fResultRate) || std::isinf(fResultRate) + ||std::isnan(fResultValue) || std::isinf(fResultValue)) bContLoop = true; ++nIterScan; |