summaryrefslogtreecommitdiff
path: root/chart2/source/inc
diff options
context:
space:
mode:
authorYukio Siraichi <yukio.siraichi@gmail.com>2020-03-12 19:45:07 +0900
committerMike Kaganski <mike.kaganski@collabora.com>2020-03-12 20:06:13 +0100
commitc95529ed8eee120c109cd6fc7c94f615606586b0 (patch)
treeaedfdc7ee4ac490d52d22b672b536bda4a322f00 /chart2/source/inc
parent26b84cd8c5d1b0ab8c4cb765bbbaecf3c21e4ed2 (diff)
tdf#130976 replace `rtl::math::isInf` with `std::inf`.
Change-Id: Id0f0e07b324230d2d69cbf4ab07b0fff5b24474d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90377 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r--chart2/source/inc/RegressionCalculationHelper.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/chart2/source/inc/RegressionCalculationHelper.hxx b/chart2/source/inc/RegressionCalculationHelper.hxx
index 3019b0939807..bf99b5c619ae 100644
--- a/chart2/source/inc/RegressionCalculationHelper.hxx
+++ b/chart2/source/inc/RegressionCalculationHelper.hxx
@@ -66,8 +66,8 @@ public:
bool operator()( double x, double y )
{ return ! ( ::rtl::math::isNan( x ) ||
::rtl::math::isNan( y ) ||
- ::rtl::math::isInf( x ) ||
- ::rtl::math::isInf( y ) );
+ std::isinf( x ) ||
+ std::isinf( y ) );
}
};
@@ -77,8 +77,8 @@ public:
bool operator()( double x, double y )
{ return ! ( ::rtl::math::isNan( x ) ||
::rtl::math::isNan( y ) ||
- ::rtl::math::isInf( x ) ||
- ::rtl::math::isInf( y ) ||
+ std::isinf( x ) ||
+ std::isinf( y ) ||
x <= 0.0 );
}
};
@@ -89,8 +89,8 @@ public:
bool operator()( double x, double y )
{ return ! ( ::rtl::math::isNan( x ) ||
::rtl::math::isNan( y ) ||
- ::rtl::math::isInf( x ) ||
- ::rtl::math::isInf( y ) ||
+ std::isinf( x ) ||
+ std::isinf( y ) ||
y <= 0.0 );
}
};
@@ -101,8 +101,8 @@ public:
bool operator()( double x, double y )
{ return ! ( ::rtl::math::isNan( x ) ||
::rtl::math::isNan( y ) ||
- ::rtl::math::isInf( x ) ||
- ::rtl::math::isInf( y ) ||
+ std::isinf( x ) ||
+ std::isinf( y ) ||
y >= 0.0 );
}
};
@@ -113,8 +113,8 @@ public:
bool operator()( double x, double y )
{ return ! ( ::rtl::math::isNan( x ) ||
::rtl::math::isNan( y ) ||
- ::rtl::math::isInf( x ) ||
- ::rtl::math::isInf( y ) ||
+ std::isinf( x ) ||
+ std::isinf( y ) ||
x <= 0.0 ||
y <= 0.0 );
}
@@ -126,8 +126,8 @@ public:
bool operator()( double x, double y )
{ return ! ( ::rtl::math::isNan( x ) ||
::rtl::math::isNan( y ) ||
- ::rtl::math::isInf( x ) ||
- ::rtl::math::isInf( y ) ||
+ std::isinf( x ) ||
+ std::isinf( y ) ||
x <= 0.0 ||
y >= 0.0 );
}