Home
last modified time | relevance | path

Searched refs:math (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/aoo41x/main/chart2/source/view/main/
H A DLabelPositionHelper.cxx145 rfXCorrection = -aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Left()
146 -aSize.Height *rtl::math::cos( beta )/2.0; in lcl_correctRotation_Left()
156 -aSize.Height*rtl::math::sin( beta )/2.0; in lcl_correctRotation_Left()
188 rfXCorrection = aSize.Width *rtl::math::cos( beta ) in lcl_correctRotation_Right()
189 + aSize.Height*rtl::math::sin( beta )/2.0; in lcl_correctRotation_Right()
198 rfXCorrection = aSize.Width *rtl::math::sin( beta ) in lcl_correctRotation_Right()
235 - aSize.Height*rtl::math::sin( beta ); in lcl_correctRotation_Top()
244 -aSize.Height *rtl::math::cos( beta ); in lcl_correctRotation_Top()
277 +aSize.Height*rtl::math::sin( beta ); in lcl_correctRotation_Bottom()
353 rfYCorrection = aSize.Width*rtl::math::cos( beta ) in lcl_correctRotation_Left_Bottom()
[all …]
H A DVDataSeries.cxx81 ::rtl::math::setNan( & fNan ); in getValue()
147 && (::rtl::math::isNan(rfValue) || ::rtl::math::isInf(rfValue)) ) in lcl_maybeReplaceNanWithZero()
301 ::rtl::math::setNan( & fNan ); in doSortByXValues()
487 ::rtl::math::setNan( &fRet ); in getXValue()
495 ::rtl::math::setNan( &fRet ); in getXValue()
633 ::rtl::math::setInf(&fMin, false); in getMinimumofAllDifferentYValues()
660 if( ::rtl::math::isInf(fMin) ) in getMinimumofAllDifferentYValues()
661 ::rtl::math::setNan(&fMin); in getMinimumofAllDifferentYValues()
669 ::rtl::math::setInf(&fMax, true); in getMaximumofAllDifferentYValues()
696 if( ::rtl::math::isInf(fMax) ) in getMaximumofAllDifferentYValues()
[all …]
H A DPlotterBase.cxx111 if( ::rtl::math::isNan(rPos.PositionX) ) in isValidPosition()
113 if( ::rtl::math::isNan(rPos.PositionY) ) in isValidPosition()
115 if( ::rtl::math::isNan(rPos.PositionZ) ) in isValidPosition()
117 if( ::rtl::math::isInf(rPos.PositionX) ) in isValidPosition()
119 if( ::rtl::math::isInf(rPos.PositionY) ) in isValidPosition()
121 if( ::rtl::math::isInf(rPos.PositionZ) ) in isValidPosition()
/aoo41x/main/canvas/source/tools/
H A Dverifyinput.cxx75 if( !::rtl::math::isFinite( rPoint.X ) ) in verifyInput()
84 if( !::rtl::math::isFinite( rPoint.Y ) ) in verifyInput()
93 if( !::rtl::math::isFinite( rPoint.X ) || in verifyInput()
94 !::rtl::math::isFinite( rPoint.Y ) ) in verifyInput()
217 if( !::rtl::math::isFinite( rRect.X1 ) ) in verifyInput()
226 if( !::rtl::math::isFinite( rRect.Y1 ) ) in verifyInput()
235 if( !::rtl::math::isFinite( rRect.X2 ) ) in verifyInput()
244 if( !::rtl::math::isFinite( rRect.Y2 ) ) in verifyInput()
253 if( !::rtl::math::isFinite( rRect.X1 ) || in verifyInput()
254 !::rtl::math::isFinite( rRect.Y1 ) || in verifyInput()
[all …]
/aoo41x/main/chart2/source/view/axes/
H A DScaleAutomatism.cxx116 ::rtl::math::setNan( &m_fValueMinimum ); in ScaleAutomatism()
117 ::rtl::math::setNan( &m_fValueMaximum ); in ScaleAutomatism()
184 else if( ::rtl::math::isNan( m_fValueMinimum ) ) in calculateExplicitScaleAndIncrement()
200 else if( ::rtl::math::isNan( m_fValueMaximum ) ) in calculateExplicitScaleAndIncrement()
344 if( !::rtl::math::isFinite( fSourceMinimum ) ) in calculateExplicitIncrementAndScaleForLogarithmic()
346 … else if( ::rtl::math::approxEqual( fSourceMinimum, ::rtl::math::approxFloor( fSourceMinimum ) ) ) in calculateExplicitIncrementAndScaleForLogarithmic()
347 fSourceMinimum = ::rtl::math::approxFloor( fSourceMinimum ); in calculateExplicitIncrementAndScaleForLogarithmic()
350 if( !::rtl::math::isFinite( fSourceMaximum ) ) in calculateExplicitIncrementAndScaleForLogarithmic()
352 … else if( ::rtl::math::approxEqual( fSourceMaximum, ::rtl::math::approxFloor( fSourceMaximum ) ) ) in calculateExplicitIncrementAndScaleForLogarithmic()
353 fSourceMaximum = ::rtl::math::approxFloor( fSourceMaximum ); in calculateExplicitIncrementAndScaleForLogarithmic()
[all …]
H A DMinimumAndMaximumSupplier.cxx68 if(::rtl::math::isInf(fGlobalExtremum)) in getMinimumX()
69 ::rtl::math::setNan(&fGlobalExtremum); in getMinimumX()
83 if(::rtl::math::isInf(fGlobalExtremum)) in getMaximumX()
84 ::rtl::math::setNan(&fGlobalExtremum); in getMaximumX()
98 if(::rtl::math::isInf(fGlobalExtremum)) in getMinimumYInRange()
99 ::rtl::math::setNan(&fGlobalExtremum); in getMinimumYInRange()
113 if(::rtl::math::isInf(fGlobalExtremum)) in getMaximumYInRange()
114 ::rtl::math::setNan(&fGlobalExtremum); in getMaximumYInRange()
128 if(::rtl::math::isInf(fGlobalExtremum)) in getMinimumZ()
129 ::rtl::math::setNan(&fGlobalExtremum); in getMinimumZ()
[all …]
H A DDateScaling.cxx72 if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) in doScaling()
73 ::rtl::math::setNan( & fResult ); in doScaling()
77 aDate += static_cast<long>(::rtl::math::approxFloor(value)); in doScaling()
146 if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) in doScaling()
147 ::rtl::math::setNan( & fResult ); in doScaling()
169 double fYear = ::rtl::math::approxFloor(value/lcl_fNumberOfMonths); in doScaling()
170 double fMonth = ::rtl::math::approxFloor(value-(fYear*lcl_fNumberOfMonths)); in doScaling()
182 aDate.SetDay( static_cast<sal_uInt16>(::rtl::math::round(fDay)) ); in doScaling()
/aoo41x/main/chart2/source/tools/
H A DRegressionCalculationHelper.hxx79 { return ! ( ::rtl::math::isNan( x ) || in operator ()()
80 ::rtl::math::isNan( y ) || in operator ()()
81 ::rtl::math::isInf( x ) || in operator ()()
82 ::rtl::math::isInf( y ) ); in operator ()()
90 { return ! ( ::rtl::math::isNan( x ) || in operator ()()
91 ::rtl::math::isNan( y ) || in operator ()()
92 ::rtl::math::isInf( x ) || in operator ()()
93 ::rtl::math::isInf( y ) || in operator ()()
102 { return ! ( ::rtl::math::isNan( x ) || in operator ()()
103 ::rtl::math::isNan( y ) || in operator ()()
[all …]
H A DScaling.cxx81 if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) in doScaling()
82 ::rtl::math::setNan( & fResult ); in doScaling()
132 if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) in doScaling()
133 ::rtl::math::setNan( & fResult ); in doScaling()
181 if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) in doScaling()
182 ::rtl::math::setNan( & fResult ); in doScaling()
232 if( ::rtl::math::isNan( value ) || ::rtl::math::isInf( value ) ) in doScaling()
233 ::rtl::math::setNan( & fResult ); in doScaling()
H A DExponentialRegressionCurveCalculator.cxx45 ::rtl::math::setNan( & m_fLogSlope ); in ExponentialRegressionCurveCalculator()
46 ::rtl::math::setNan( & m_fLogIntercept ); in ExponentialRegressionCurveCalculator()
66 ::rtl::math::setNan( & m_fLogSlope ); in recalculateRegression()
67 ::rtl::math::setNan( & m_fLogIntercept ); in recalculateRegression()
68 … ::rtl::math::setNan( & m_fCorrelationCoeffitient );// actual it is coefficient of determination in recalculateRegression()
106 ::rtl::math::setNan( & fResult ); in getCurveValue()
108 if( ! ( ::rtl::math::isNan( m_fLogSlope ) || in getCurveValue()
109 ::rtl::math::isNan( m_fLogIntercept ))) in getCurveValue()
149 bool bHasSlope = !rtl::math::approxEqual( fSlope, 1.0 ); in ImplGetRepresentation()
150 bool bHasIntercept = !rtl::math::approxEqual( fIntercept, 1.0 ); in ImplGetRepresentation()
H A DPotentialRegressionCurveCalculator.cxx45 ::rtl::math::setNan( & m_fSlope ); in PotentialRegressionCurveCalculator()
46 ::rtl::math::setNan( & m_fIntercept ); in PotentialRegressionCurveCalculator()
66 ::rtl::math::setNan( & m_fSlope ); in recalculateRegression()
67 ::rtl::math::setNan( & m_fIntercept ); in recalculateRegression()
68 ::rtl::math::setNan( & m_fCorrelationCoeffitient ); in recalculateRegression()
107 ::rtl::math::setNan( & fResult ); in getCurveValue()
109 if( ! ( ::rtl::math::isNan( m_fSlope ) || in getCurveValue()
110 ::rtl::math::isNan( m_fIntercept ))) in getCurveValue()
158 if( ! rtl::math::approxEqual( m_fIntercept, 1.0 ) ) in ImplGetRepresentation()
H A DLinearRegressionCurveCalculator.cxx45 ::rtl::math::setNan( & m_fSlope ); in LinearRegressionCurveCalculator()
46 ::rtl::math::setNan( & m_fIntercept ); in LinearRegressionCurveCalculator()
66 ::rtl::math::setNan( & m_fSlope ); in recalculateRegression()
67 ::rtl::math::setNan( & m_fIntercept ); in recalculateRegression()
68 ::rtl::math::setNan( & m_fCorrelationCoeffitient ); in recalculateRegression()
96 ::rtl::math::setNan( & fResult ); in getCurveValue()
98 if( ! ( ::rtl::math::isNan( m_fSlope ) || in getCurveValue()
99 ::rtl::math::isNan( m_fIntercept ))) in getCurveValue()
141 if( ::rtl::math::approxEqual( fabs( m_fSlope ), 1.0 )) in ImplGetRepresentation()
H A DLogarithmicRegressionCurveCalculator.cxx45 ::rtl::math::setNan( & m_fSlope ); in LogarithmicRegressionCurveCalculator()
46 ::rtl::math::setNan( & m_fIntercept ); in LogarithmicRegressionCurveCalculator()
66 ::rtl::math::setNan( & m_fSlope ); in recalculateRegression()
67 ::rtl::math::setNan( & m_fIntercept ); in recalculateRegression()
68 ::rtl::math::setNan( & m_fCorrelationCoeffitient ); in recalculateRegression()
105 ::rtl::math::setNan( & fResult ); in getCurveValue()
107 if( ! ( ::rtl::math::isNan( m_fSlope ) || in getCurveValue()
108 ::rtl::math::isNan( m_fIntercept ))) in getCurveValue()
150 if( ::rtl::math::approxEqual( fabs( m_fSlope ), 1.0 )) in ImplGetRepresentation()
H A DRelativePositionHelper.cxx182 aResult.X += static_cast< sal_Int32 >( ::rtl::math::round( fXDelta )); in getUpperLeftCornerOfAnchoredObject()
183 aResult.Y += static_cast< sal_Int32 >( ::rtl::math::round( fYDelta )); in getUpperLeftCornerOfAnchoredObject()
244 …::rtl::math::round( fXDelta * rtl::math::cos( fAnglePi ) + fYDelta * rtl::math::sin( fAnglePi )… in getCenterOfAnchoredObject()
246 …::rtl::math::round( - fXDelta * rtl::math::sin( fAnglePi ) + fYDelta * rtl::math::cos( fAnglePi )… in getCenterOfAnchoredObject()
H A DMeanValueRegressionCurveCalculator.cxx43 ::rtl::math::setNan( & m_fMeanValue ); in MeanValueRegressionCurveCalculator()
62 if( ::rtl::math::isNan( pY[i] ) || in recalculateRegression()
63 ::rtl::math::isInf( pY[i] )) in recalculateRegression()
73 ::rtl::math::setNan( & m_fMeanValue ); in recalculateRegression()
85 if( !::rtl::math::isNan( pY[i] ) && in recalculateRegression()
86 !::rtl::math::isInf( pY[i] )) in recalculateRegression()
/aoo41x/main/chart2/source/view/charttypes/
H A DVSeriesPlotter.cxx634 ::rtl::math::setNan( & fResult ); in lcl_getErrorBarLogicLength()
1003 if( !::rtl::math::isNan(fLogicX) && !::rtl::math::isInf(fLogicX) in createRegressionCurvesShapes()
1004 && !::rtl::math::isNan(fLogicY) && !::rtl::math::isInf(fLogicY) in createRegressionCurvesShapes()
1005 && !::rtl::math::isNan(fLogicZ) && !::rtl::math::isInf(fLogicZ) ) in createRegressionCurvesShapes()
1268 if(::rtl::math::isInf(fMinimum)) in getMinimumYInRange()
1409 if(::rtl::math::isInf(rfMinY)) in getMinimumAndMaximiumYInContinuousXRange()
1411 if(::rtl::math::isInf(rfMaxY)) in getMinimumAndMaximiumYInContinuousXRange()
1552 if(!::rtl::math::isNan(fYmax)) in getMinimumAndMaximiumYInContinuousXRange()
1554 if(!::rtl::math::isNan(fYmin)) in getMinimumAndMaximiumYInContinuousXRange()
1559 if(::rtl::math::isInf(rfMinY)) in getMinimumAndMaximiumYInContinuousXRange()
[all …]
H A DBubbleChart.cxx53 using namespace ::rtl::math;
138 if( ::rtl::math::isNan(fLogicSize) || ::rtl::math::isInf(fLogicSize) ) in transformToScreenBubbleSize()
195 ::rtl::math::setNan( &m_fX ); in FormerPoint()
196 ::rtl::math::setNan( &m_fY ); in FormerPoint()
197 ::rtl::math::setNan( &m_fZ ); in FormerPoint()
288 … if( ::rtl::math::approxEqual( fBubbleSize, 0.0 ) || ::rtl::math::isNan(fBubbleSize) ) in createShapes()
291 if( ::rtl::math::isNan(fLogicX) || ::rtl::math::isInf(fLogicX) in createShapes()
292 || ::rtl::math::isNan(fLogicY) || ::rtl::math::isInf(fLogicY) ) in createShapes()
H A DAreaChart.cxx61 using namespace ::rtl::math;
345 || (::rtl::math::isFinite( fFirstY ) && ::rtl::math::isFinite( fLastY )) ) in impl_createLine()
578 ::rtl::math::setNan( &m_fX ); in FormerPoint()
579 ::rtl::math::setNan( &m_fY ); in FormerPoint()
580 ::rtl::math::setNan( &m_fZ ); in FormerPoint()
667 if( !::rtl::math::isNan(fAdd) && !::rtl::math::isInf(fAdd) ) in createShapes()
723 ( ::rtl::math::isNan(fLogicY) || ::rtl::math::isInf(fLogicY) ) ) in createShapes()
741 …if( pPosHelper->isPercentY() && !::rtl::math::approxEqual( aLogicYSumMap[nAttachedAxisIndex], 0.0 … in createShapes()
746 if( ::rtl::math::isNan(fLogicX) || ::rtl::math::isInf(fLogicX) in createShapes()
747 || ::rtl::math::isNan(fLogicY) || ::rtl::math::isInf(fLogicY) in createShapes()
[all …]
/aoo41x/main/sc/source/core/tool/
H A Dinterpr2.cxx135 aDate += (long) ::rtl::math::approxFloor(GetDouble()); in ScGetYear()
151 aDate += (long)::rtl::math::approxFloor(GetDouble()); in ScGetDay()
192 PushDouble(::rtl::math::approxFloor(fVal)); in ScGetDateValue()
456 PushDouble(::rtl::math::approxFloor(GetDouble())); in ScInt()
561 fVal = ::rtl::math::approxCeil(fVal); in ScOdd()
567 fVal = ::rtl::math::approxFloor(fVal); in ScOdd()
957 if (::rtl::math::approxFloor(nPeriode) == 1) in ScGDA2()
1084 if(!::rtl::math::approxEqual(fAnfang,::rtl::math::approxFloor(fAnfang))) in ScVDB()
1142 (::boost::math::expm1( (fNper + 1) * ::boost::math::log1p(fRate) ) - fRate); in ScGetRmz()
1145 ::boost::math::expm1( fNper * ::boost::math::log1p(fRate) ); in ScGetRmz()
[all …]
H A Dinterpr3.cxx448 x = ::rtl::math::approxFloor(x); in Fakultaet()
475 k = ::rtl::math::approxFloor(k); in BinomKoeff()
594 fGamma = ::rtl::math::round(fGamma); in lcl_GetGammaHelper()
809 if (x <= 0.0 && x == ::rtl::math::approxFloor(x)) in ScGamma()
911 return fB + fB * ::boost::math::expm1((fB-1.0) * ::boost::math::log1p(-fX)); in GetBetaDistPDF()
1031 return -::boost::math::expm1(fBeta * ::boost::math::log1p(-fXin)); in GetBetaDist()
1037 double flnY = ::boost::math::log1p(-fXin); in GetBetaDist()
1148 PushDouble( ::boost::math::atanh( fVal)); in ScFisher()
1742 double N = ::rtl::math::approxFloor(GetDouble()); in ScHypGeomDist()
1743 double M = ::rtl::math::approxFloor(GetDouble()); in ScHypGeomDist()
[all …]
H A Dscmatrix.cxx184 ::rtl::math::setNan( &fVal ); in Store()
703 if ( ::rtl::math::isFinite( pMat[j].fVal)) // else: DoubleError in CompareEqual()
721 if ( ::rtl::math::isFinite( pMat[j].fVal)) // else: DoubleError in CompareNotEqual()
739 if ( ::rtl::math::isFinite( pMat[j].fVal)) // else: DoubleError in CompareLess()
757 if ( ::rtl::math::isFinite( pMat[j].fVal)) // else: DoubleError in CompareGreater()
810 else if ( ::rtl::math::isFinite( pMat[j].fVal)) in And()
820 if ( ::rtl::math::isFinite( pMat[j].fVal)) in And()
840 else if ( ::rtl::math::isFinite( pMat[j].fVal)) in Or()
848 if ( ::rtl::math::isFinite( pMat[j].fVal)) in Or()
869 else if ( ::rtl::math::isFinite( pMat[j].fVal)) in Xor()
[all …]
/aoo41x/main/sal/rtl/source/
H A Dmath.cxx311 bool bSign = rtl::math::isSignBitSet( fValue ); in doubleToString()
315 if ( rtl::math::isNan( fValue ) ) in doubleToString()
332 if ( bHuge || rtl::math::isInf( fValue ) ) in doubleToString()
737 rtl::math::setNan( &fVal ); in stringToDouble()
891 rtl::math::setNan( &fVal ); in stringToDouble()
963 bool bSign = rtl::math::isSignBitSet( fValue ); in rtl_math_round()
1005 : rtl::math::approxFloor( fValue ); in rtl_math_round()
1009 : rtl::math::approxCeil( fValue ); in rtl_math_round()
1093 if (!rtl::math::isFinite( fValue)) in rtl_math_approxValue()
1099 if (!rtl::math::isFinite( fValue)) in rtl_math_approxValue()
[all …]
/aoo41x/main/slideshow/source/engine/
H A Dshapeattributelayer.cxx290 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewWidth), in setWidth()
314 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewHeight), in setHeight()
325 ::rtl::math::isFinite(rNewSize.getY()), in setSize()
349 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewX), in setPosX()
373 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewY), in setPosY()
404 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewAngle), in setRotationAngle()
427 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewAngle), in setShearXAngle()
450 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewAngle), in setShearYAngle()
473 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewValue), in setAlpha()
673 ENSURE_OR_THROW( ::rtl::math::isFinite(rNewAngle), in setCharRotationAngle()
[all …]
/aoo41x/main/sc/source/core/data/
H A Ddpgroup.cxx222 return rtl::math::approxEqual( fValue, rtl::math::approxFloor(fValue) ); in IsInteger()
243 double fDiv = rtl::math::approxFloor( fDiff / rInfo.Step ); in lcl_GetNumGroupForValue()
246 if ( rtl::math::approxEqual( fGroupStart, rInfo.End ) && in lcl_GetNumGroupForValue()
247 !rtl::math::approxEqual( fGroupStart, rInfo.Start ) ) in lcl_GetNumGroupForValue()
310 using ::rtl::math::approxFloor; in match()
311 using ::rtl::math::approxEqual; in match()
487 double fTime = fValue - ::rtl::math::approxFloor(fValue); in lcl_GetDatePartValue()
488 long nSeconds = (long)::rtl::math::approxFloor(fTime*D_TIMEFACTOR+0.5); in lcl_GetDatePartValue()
506 aDate += (long)::rtl::math::approxFloor( fValue ); in lcl_GetDatePartValue()
978 fSourceMin = rtl::math::approxFloor( fSourceMin ); in GetNumEntries()
[all …]
/aoo41x/main/xmloff/source/style/
H A Dnumehelp.cxx149 rtl::OUString sValue( ::rtl::math::doubleToUString( rValue, in WriteAttributes()
200 if (::rtl::math::approxEqual( fTempValue, 1.0 )) in WriteAttributes()
206 if (::rtl::math::approxEqual( rValue, 0.0 )) in WriteAttributes()
212 rtl::OUString sValue( ::rtl::math::doubleToUString( in WriteAttributes()
231 rtl::OUString sValue( ::rtl::math::doubleToUString( rValue, in WriteAttributes()
432 rtl::OUString sValue( ::rtl::math::doubleToUString( rValue, in WriteAttributes()
483 if (::rtl::math::approxEqual( fTempValue, 1.0 )) in WriteAttributes()
489 if (::rtl::math::approxEqual( rValue, 0.0 )) in WriteAttributes()
495 rtl::OUString sValue( ::rtl::math::doubleToUString( in WriteAttributes()
514 rtl::OUString sValue( ::rtl::math::doubleToUString( rValue, in WriteAttributes()

Completed in 136 milliseconds

12345678910>>...16