summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorYukio Siraichi <yukio.siraichi@gmail.com>2020-03-13 15:41:40 +0900
committerMike Kaganski <mike.kaganski@collabora.com>2020-03-14 09:19:00 +0100
commit3bf3face224a7e12ba95888821a0ac21525af22c (patch)
tree93908386dd614404e46898ae16ee179549a1a0f9 /connectivity
parent8f8b64cad377c6d767cdf291fd00225658bd02c5 (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 'connectivity')
-rw-r--r--connectivity/source/drivers/file/FNumericFunctions.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FNumericFunctions.cxx b/connectivity/source/drivers/file/FNumericFunctions.cxx
index a71abc31f1a8..d2188cbbc4b9 100644
--- a/connectivity/source/drivers/file/FNumericFunctions.cxx
+++ b/connectivity/source/drivers/file/FNumericFunctions.cxx
@@ -108,7 +108,7 @@ ORowSetValue OOp_Ln::operate(const ORowSetValue& lhs) const
double nVal(lhs);
nVal = log(nVal);
- if ( rtl::math::isNan(nVal) )
+ if ( std::isnan(nVal) )
return ORowSetValue();
return nVal;
}
@@ -124,7 +124,7 @@ ORowSetValue OOp_Log::operate(const std::vector<ORowSetValue>& lhs) const
if ( nSize == 2 && !lhs[0].isNull() )
nVal /= log(static_cast<double>(lhs[0]));
- if ( rtl::math::isNan(nVal) )
+ if ( std::isnan(nVal) )
return ORowSetValue();
return nVal;
}
@@ -135,7 +135,7 @@ ORowSetValue OOp_Log10::operate(const ORowSetValue& lhs) const
return lhs;
double nVal = log(static_cast<double>(lhs));
- if ( rtl::math::isNan(nVal) )
+ if ( std::isnan(nVal) )
return ORowSetValue();
nVal /= log(10.0);
return nVal;
@@ -155,7 +155,7 @@ ORowSetValue OOp_Sqrt::operate(const ORowSetValue& lhs) const
return lhs;
double nVal = sqrt(static_cast<double>(lhs));
- if ( rtl::math::isNan(nVal) )
+ if ( std::isnan(nVal) )
return ORowSetValue();
return nVal;
}