diff options
author | Yukio Siraichi <yukio.siraichi@gmail.com> | 2020-03-12 19:45:07 +0900 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-03-12 20:06:13 +0100 |
commit | c95529ed8eee120c109cd6fc7c94f615606586b0 (patch) | |
tree | aedfdc7ee4ac490d52d22b672b536bda4a322f00 /chart2 | |
parent | 26b84cd8c5d1b0ab8c4cb765bbbaecf3c21e4ed2 (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')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/RegressionCalculationHelper.hxx | 24 | ||||
-rw-r--r-- | chart2/source/tools/InternalDataProvider.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/MeanValueRegressionCurveCalculator.cxx | 4 | ||||
-rw-r--r-- | chart2/source/tools/Scaling.cxx | 8 | ||||
-rw-r--r-- | chart2/source/view/axes/DateScaling.cxx | 4 | ||||
-rw-r--r-- | chart2/source/view/axes/MinimumAndMaximumSupplier.cxx | 12 | ||||
-rw-r--r-- | chart2/source/view/charttypes/AreaChart.cxx | 8 | ||||
-rw-r--r-- | chart2/source/view/charttypes/BubbleChart.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/charttypes/NetChart.cxx | 10 | ||||
-rw-r--r-- | chart2/source/view/charttypes/Splines.cxx | 4 | ||||
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 22 | ||||
-rw-r--r-- | chart2/source/view/main/PlotterBase.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 6 |
14 files changed, 59 insertions, 59 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx index 2ba9fd16d211..7451469a82ae 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx @@ -534,7 +534,7 @@ sal_Bool SAL_CALL ChartDataWrapper::isNotANumber( double nNumber ) { return nNumber == DBL_MIN || ::rtl::math::isNan( nNumber ) - || ::rtl::math::isInf( nNumber ); + || std::isinf( nNumber ); } // ____ XComponent ____ 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 ); } diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx index 9a9d2db8188a..a02c9e79a324 100644 --- a/chart2/source/tools/InternalDataProvider.cxx +++ b/chart2/source/tools/InternalDataProvider.cxx @@ -1486,7 +1486,7 @@ double SAL_CALL InternalDataProvider::getNotANumber() sal_Bool SAL_CALL InternalDataProvider::isNotANumber( double nNumber ) { return ::rtl::math::isNan( nNumber ) - || ::rtl::math::isInf( nNumber ); + || std::isinf( nNumber ); } // lang::XInitialization: void SAL_CALL InternalDataProvider::initialize(const uno::Sequence< uno::Any > & _aArguments) diff --git a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx index 5d98e8c563c1..ad8c6ddcb6ff 100644 --- a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx +++ b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx @@ -49,7 +49,7 @@ void SAL_CALL MeanValueRegressionCurveCalculator::recalculateRegression( for( sal_Int32 i = 0; i < nDataLength; ++i ) { if( ::rtl::math::isNan( pY[i] ) || - ::rtl::math::isInf( pY[i] )) + std::isinf( pY[i] )) --nMax; else fSumY += pY[i]; @@ -72,7 +72,7 @@ void SAL_CALL MeanValueRegressionCurveCalculator::recalculateRegression( for( sal_Int32 i = 0; i < nDataLength; ++i ) { if( !::rtl::math::isNan( pY[i] ) && - !::rtl::math::isInf( pY[i] )) + !std::isinf( pY[i] )) { double v = m_fMeanValue - pY[i]; fErrorSum += (v*v); diff --git a/chart2/source/tools/Scaling.cxx b/chart2/source/tools/Scaling.cxx index e387a3047442..b8bed8262b97 100644 --- a/chart2/source/tools/Scaling.cxx +++ b/chart2/source/tools/Scaling.cxx @@ -58,7 +58,7 @@ LogarithmicScaling::~LogarithmicScaling() double SAL_CALL LogarithmicScaling::doScaling( double value ) { double fResult; - if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) + if( ::rtl::math::isNan( value ) || std::isinf( value ) ) ::rtl::math::setNan( & fResult ); else fResult = log( value ) / m_fLogOfBase; @@ -107,7 +107,7 @@ ExponentialScaling::~ExponentialScaling() double SAL_CALL ExponentialScaling::doScaling( double value ) { double fResult; - if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) + if( ::rtl::math::isNan( value ) || std::isinf( value ) ) ::rtl::math::setNan( & fResult ); else fResult = pow( m_fBase, value ); @@ -155,7 +155,7 @@ LinearScaling::~LinearScaling() double SAL_CALL LinearScaling::doScaling( double value ) { double fResult; - if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) + if( ::rtl::math::isNan( value ) || std::isinf( value ) ) ::rtl::math::setNan( & fResult ); else fResult = m_fOffset + m_fSlope * value; @@ -206,7 +206,7 @@ PowerScaling::~PowerScaling() double SAL_CALL PowerScaling::doScaling( double value ) { double fResult; - if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) + if( ::rtl::math::isNan( value ) || std::isinf( value ) ) ::rtl::math::setNan( & fResult ); else fResult = pow( value, m_fExponent ); diff --git a/chart2/source/view/axes/DateScaling.cxx b/chart2/source/view/axes/DateScaling.cxx index a1aa4151c1fe..8285600801de 100644 --- a/chart2/source/view/axes/DateScaling.cxx +++ b/chart2/source/view/axes/DateScaling.cxx @@ -53,7 +53,7 @@ DateScaling::~DateScaling() double SAL_CALL DateScaling::doScaling( double value ) { double fResult(value); - if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) + if( ::rtl::math::isNan( value ) || std::isinf( value ) ) ::rtl::math::setNan( & fResult ); else { @@ -129,7 +129,7 @@ InverseDateScaling::~InverseDateScaling() double SAL_CALL InverseDateScaling::doScaling( double value ) { double fResult(value); - if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) + if( ::rtl::math::isNan( value ) || std::isinf( value ) ) ::rtl::math::setNan( & fResult ); else { diff --git a/chart2/source/view/axes/MinimumAndMaximumSupplier.cxx b/chart2/source/view/axes/MinimumAndMaximumSupplier.cxx index 50c3d4958694..2bb936567469 100644 --- a/chart2/source/view/axes/MinimumAndMaximumSupplier.cxx +++ b/chart2/source/view/axes/MinimumAndMaximumSupplier.cxx @@ -55,7 +55,7 @@ double MergedMinimumAndMaximumSupplier::getMinimumX() if(fLocalExtremum<fGlobalExtremum) fGlobalExtremum=fLocalExtremum; } - if(::rtl::math::isInf(fGlobalExtremum)) + if(std::isinf(fGlobalExtremum)) ::rtl::math::setNan(&fGlobalExtremum); return fGlobalExtremum; } @@ -70,7 +70,7 @@ double MergedMinimumAndMaximumSupplier::getMaximumX() if(fLocalExtremum>fGlobalExtremum) fGlobalExtremum=fLocalExtremum; } - if(::rtl::math::isInf(fGlobalExtremum)) + if(std::isinf(fGlobalExtremum)) ::rtl::math::setNan(&fGlobalExtremum); return fGlobalExtremum; } @@ -85,7 +85,7 @@ double MergedMinimumAndMaximumSupplier::getMinimumYInRange( double fMinimumX, do if(fLocalExtremum<fGlobalExtremum) fGlobalExtremum=fLocalExtremum; } - if(::rtl::math::isInf(fGlobalExtremum)) + if(std::isinf(fGlobalExtremum)) ::rtl::math::setNan(&fGlobalExtremum); return fGlobalExtremum; } @@ -100,7 +100,7 @@ double MergedMinimumAndMaximumSupplier::getMaximumYInRange( double fMinimumX, do if(fLocalExtremum>fGlobalExtremum) fGlobalExtremum=fLocalExtremum; } - if(::rtl::math::isInf(fGlobalExtremum)) + if(std::isinf(fGlobalExtremum)) ::rtl::math::setNan(&fGlobalExtremum); return fGlobalExtremum; } @@ -115,7 +115,7 @@ double MergedMinimumAndMaximumSupplier::getMinimumZ() if(fLocalExtremum<fGlobalExtremum) fGlobalExtremum=fLocalExtremum; } - if(::rtl::math::isInf(fGlobalExtremum)) + if(std::isinf(fGlobalExtremum)) ::rtl::math::setNan(&fGlobalExtremum); return fGlobalExtremum; } @@ -130,7 +130,7 @@ double MergedMinimumAndMaximumSupplier::getMaximumZ() if(fLocalExtremum>fGlobalExtremum) fGlobalExtremum=fLocalExtremum; } - if(::rtl::math::isInf(fGlobalExtremum)) + if(std::isinf(fGlobalExtremum)) ::rtl::math::setNan(&fGlobalExtremum); return fGlobalExtremum; } diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx index f6101c15917c..1ec356fe65cc 100644 --- a/chart2/source/view/charttypes/AreaChart.cxx +++ b/chart2/source/view/charttypes/AreaChart.cxx @@ -668,7 +668,7 @@ void AreaChart::createShapes() m_pPosHelper = &getPlottingPositionHelper(nAttachedAxisIndex); double fAdd = pSeries->getYValue( nIndex ); - if( !::rtl::math::isNan(fAdd) && !::rtl::math::isInf(fAdd) ) + if( !::rtl::math::isNan(fAdd) && !std::isinf(fAdd) ) rLogicYSumMap[nAttachedAxisIndex] += fabs( fAdd ); } } @@ -729,9 +729,9 @@ void AreaChart::createShapes() fLogicY = fabs( fLogicY )/rLogicYSumMap[nAttachedAxisIndex]; } - if( ::rtl::math::isNan(fLogicX) || ::rtl::math::isInf(fLogicX) - || ::rtl::math::isNan(fLogicY) || ::rtl::math::isInf(fLogicY) - || ::rtl::math::isNan(fLogicZ) || ::rtl::math::isInf(fLogicZ) ) + if( ::rtl::math::isNan(fLogicX) || std::isinf(fLogicX) + || ::rtl::math::isNan(fLogicY) || std::isinf(fLogicY) + || ::rtl::math::isNan(fLogicZ) || std::isinf(fLogicZ) ) { if( pSeries->getMissingValueTreatment() == css::chart::MissingValueTreatment::LEAVE_GAP ) { diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx index ef2a75934dfb..e664d328901e 100644 --- a/chart2/source/view/charttypes/BubbleChart.cxx +++ b/chart2/source/view/charttypes/BubbleChart.cxx @@ -102,7 +102,7 @@ drawing::Direction3D BubbleChart::transformToScreenBubbleSize( double fLogicSize { drawing::Direction3D aRet(0,0,0); - if( ::rtl::math::isNan(fLogicSize) || ::rtl::math::isInf(fLogicSize) ) + if( ::rtl::math::isNan(fLogicSize) || std::isinf(fLogicSize) ) return aRet; double fMaxSize = m_fMaxLogicBubbleSize; @@ -227,8 +227,8 @@ void BubbleChart::createShapes() if( fBubbleSize == 0.0 || ::rtl::math::isNan(fBubbleSize) ) continue; - if( ::rtl::math::isNan(fLogicX) || ::rtl::math::isInf(fLogicX) - || ::rtl::math::isNan(fLogicY) || ::rtl::math::isInf(fLogicY) ) + if( ::rtl::math::isNan(fLogicX) || std::isinf(fLogicX) + || ::rtl::math::isNan(fLogicY) || std::isinf(fLogicY) ) continue; bool bIsVisible = rPosHelper.isLogicVisible(fLogicX, fLogicY, fLogicZ); diff --git a/chart2/source/view/charttypes/NetChart.cxx b/chart2/source/view/charttypes/NetChart.cxx index 6c4a202a7bc4..66839280340a 100644 --- a/chart2/source/view/charttypes/NetChart.cxx +++ b/chart2/source/view/charttypes/NetChart.cxx @@ -373,7 +373,7 @@ void NetChart::createShapes() m_pPosHelper = &getPlottingPositionHelper(nAttachedAxisIndex); double fAdd = pSeries->getYValue( nIndex ); - if( !::rtl::math::isNan(fAdd) && !::rtl::math::isInf(fAdd) ) + if( !::rtl::math::isNan(fAdd) && !std::isinf(fAdd) ) aLogicYSumMap[nAttachedAxisIndex] += fabs( fAdd ); } } @@ -411,7 +411,7 @@ void NetChart::createShapes() fLogicX = DateHelper::RasterizeDateValue( fLogicX, m_aNullDate, m_nTimeResolution ); double fLogicY = pSeries->getYValue(nIndex); - if( m_bArea && ( ::rtl::math::isNan(fLogicY) || ::rtl::math::isInf(fLogicY) ) ) + if( m_bArea && ( ::rtl::math::isNan(fLogicY) || std::isinf(fLogicY) ) ) { if( pSeries->getMissingValueTreatment() == css::chart::MissingValueTreatment::LEAVE_GAP ) { @@ -431,9 +431,9 @@ void NetChart::createShapes() fLogicY = fabs( fLogicY )/aLogicYSumMap[nAttachedAxisIndex]; } - if( ::rtl::math::isNan(fLogicX) || ::rtl::math::isInf(fLogicX) - || ::rtl::math::isNan(fLogicY) || ::rtl::math::isInf(fLogicY) - || ::rtl::math::isNan(fLogicZ) || ::rtl::math::isInf(fLogicZ) ) + if( ::rtl::math::isNan(fLogicX) || std::isinf(fLogicX) + || ::rtl::math::isNan(fLogicY) || std::isinf(fLogicY) + || ::rtl::math::isNan(fLogicZ) || std::isinf(fLogicZ) ) { if( pSeries->getMissingValueTreatment() == css::chart::MissingValueTreatment::LEAVE_GAP ) { diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index e41a2ba6bcd7..5d5a02228690 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -149,7 +149,7 @@ void lcl_SplineCalculation::Calculate() std::vector< double > u( n ); m_aSecDerivY.resize( n + 1, 0.0 ); - if( ::rtl::math::isInf( m_fYp1 ) ) + if( std::isinf( m_fYp1 ) ) { // natural spline m_aSecDerivY[ 0 ] = 0.0; @@ -190,7 +190,7 @@ void lcl_SplineCalculation::Calculate() double qn = 0.0; double un = 0.0; - if( ! ::rtl::math::isInf( m_fYpN ) ) + if( ! std::isinf( m_fYpN ) ) { qn = 0.5; double xDiff = m_aPoints[ n ].first - m_aPoints[ n - 1 ].first; diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index b9affd0e9f88..27c5fe29ee6b 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -1427,9 +1427,9 @@ void VSeriesPlotter::createRegressionCurvesShapes( VDataSeries const & rVDataSer if(!bAverageLine) m_pPosHelper->doLogicScaling( &fLogicX, &fLogicY, &fLogicZ ); - if(!rtl::math::isNan(fLogicX) && !rtl::math::isInf(fLogicX) && - !rtl::math::isNan(fLogicY) && !rtl::math::isInf(fLogicY) && - !rtl::math::isNan(fLogicZ) && !rtl::math::isInf(fLogicZ) ) + if(!rtl::math::isNan(fLogicX) && !std::isinf(fLogicX) && + !rtl::math::isNan(fLogicY) && !std::isinf(fLogicY) && + !rtl::math::isNan(fLogicZ) && !std::isinf(fLogicZ) ) { aRegressionPoly.SequenceX[0][nRealPointCount] = fLogicX; aRegressionPoly.SequenceY[0][nRealPointCount] = fLogicY; @@ -1735,7 +1735,7 @@ double VSeriesPlotter::getMinimumYInRange( double fMinimumX, double fMaximumX, s fMinimum=fLocalMinimum; } } - if(::rtl::math::isInf(fMinimum)) + if(std::isinf(fMinimum)) ::rtl::math::setNan(&fMinimum); return fMinimum; } @@ -1768,7 +1768,7 @@ double VSeriesPlotter::getMaximumYInRange( double fMinimumX, double fMaximumX, s fMinimum=fLocalMinimum; } } - if(::rtl::math::isInf(fMaximum)) + if(std::isinf(fMaximum)) ::rtl::math::setNan(&fMaximum); return fMaximum; } @@ -1842,9 +1842,9 @@ void VSeriesPlotter::getMinimumAndMaximiumX( double& rfMinimum, double& rfMaximu rfMaximum = fLocalMaximum; } } - if(::rtl::math::isInf(rfMinimum)) + if(std::isinf(rfMinimum)) ::rtl::math::setNan(&rfMinimum); - if(::rtl::math::isInf(rfMaximum)) + if(std::isinf(rfMaximum)) ::rtl::math::setNan(&rfMaximum); } @@ -1865,9 +1865,9 @@ void VSeriesPlotter::getMinimumAndMaximiumYInContinuousXRange( double& rfMinY, d rfMaxY = fLocalMaximum; } } - if(::rtl::math::isInf(rfMinY)) + if(std::isinf(rfMinY)) ::rtl::math::setNan(&rfMinY); - if(::rtl::math::isInf(rfMaxY)) + if(std::isinf(rfMaxY)) ::rtl::math::setNan(&rfMaxY); } @@ -1953,9 +1953,9 @@ void VDataSeriesGroup::getMinimumAndMaximiumX( double& rfMinimum, double& rfMaxi rfMinimum=fX; } } - if(::rtl::math::isInf(rfMinimum)) + if(std::isinf(rfMinimum)) ::rtl::math::setNan(&rfMinimum); - if(::rtl::math::isInf(rfMaximum)) + if(std::isinf(rfMaximum)) ::rtl::math::setNan(&rfMaximum); } diff --git a/chart2/source/view/main/PlotterBase.cxx b/chart2/source/view/main/PlotterBase.cxx index ea40338f6a22..c5cd481d7b44 100644 --- a/chart2/source/view/main/PlotterBase.cxx +++ b/chart2/source/view/main/PlotterBase.cxx @@ -101,11 +101,11 @@ bool PlotterBase::isValidPosition( const drawing::Position3D& rPos ) return false; if( ::rtl::math::isNan(rPos.PositionZ) ) return false; - if( ::rtl::math::isInf(rPos.PositionX) ) + if( std::isinf(rPos.PositionX) ) return false; - if( ::rtl::math::isInf(rPos.PositionY) ) + if( std::isinf(rPos.PositionY) ) return false; - if( ::rtl::math::isInf(rPos.PositionZ) ) + if( std::isinf(rPos.PositionZ) ) return false; return true; } diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index d66d97a94482..8b3a9c18b9a0 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -137,7 +137,7 @@ void lcl_clearIfNoValuesButTextIsContained( VDataSequence& rData, const uno::Ref void lcl_maybeReplaceNanWithZero( double& rfValue, sal_Int32 nMissingValueTreatment ) { if( nMissingValueTreatment == css::chart::MissingValueTreatment::USE_ZERO - && (::rtl::math::isNan(rfValue) || ::rtl::math::isInf(rfValue)) ) + && (::rtl::math::isNan(rfValue) || std::isinf(rfValue)) ) rfValue = 0.0; } @@ -700,7 +700,7 @@ double VDataSeries::getMinimumofAllDifferentYValues( sal_Int32 index ) const fMin=fY; } - if( ::rtl::math::isInf(fMin) ) + if( std::isinf(fMin) ) ::rtl::math::setNan(&fMin); return fMin; @@ -736,7 +736,7 @@ double VDataSeries::getMaximumofAllDifferentYValues( sal_Int32 index ) const fMax=fY; } - if( ::rtl::math::isInf(fMax) ) + if( std::isinf(fMax) ) ::rtl::math::setNan(&fMax); return fMax; |