summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FNumericFunctions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/file/FNumericFunctions.cxx')
-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;
}