Home
last modified time | relevance | path

Searched refs:approxEqual (Results 1 – 25 of 56) sorted by relevance

123

/aoo41x/main/chart2/qa/
H A DTestCaseOldAPI.java189 assure( "Title Position X", approxEqual( aNewPos.X, aSetPos.X, 1 )); in testTitle()
190 assure( "Title Position Y", approxEqual( aNewPos.Y, aSetPos.Y, 1 )); in testTitle()
326 assure( "Diagram Position X", approxEqual( aNewPos.X, aSetPos.X, 1 )); in testDiagram()
327 assure( "Diagram Position Y", approxEqual( aNewPos.Y, aSetPos.Y, 1 )); in testDiagram()
346 assure( "Diagram Width", approxEqual( aNewSize.Width, aSetSize.Width, 2 )); in testDiagram()
391 approxEqual( in testAxis()
400 approxEqual( in testAxis()
490 assure( "Legend Position X", approxEqual( aNewPos.X, aSetPos.X, 1 )); in testLegend()
491 assure( "Legend Position Y", approxEqual( aNewPos.Y, aSetPos.Y, 1 )); in testLegend()
1032 private boolean approxEqual( double a, double b ) in approxEqual() method in TestCaseOldAPI
[all …]
/aoo41x/main/sdext/source/pdfimport/test/
H A Dtests.cxx102 rtl::math::approxEqual(m_aHyperlinkBounds.X1,34.7 ) && in ~TestSink()
103 rtl::math::approxEqual(m_aHyperlinkBounds.Y1,386.0) && in ~TestSink()
104 rtl::math::approxEqual(m_aHyperlinkBounds.X2,166.7) && in ~TestSink()
105 rtl::math::approxEqual(m_aHyperlinkBounds.Y2,406.2) ); in ~TestSink()
245 rtl::math::approxEqual(rContext.LineWidth, 28.3) ); in strokePath()
257 rtl::math::approxEqual(rContext.DashArray[0],14.3764) && in strokePath()
/aoo41x/main/sc/source/core/data/
H A Dconditio.cxx728 bValid = ::rtl::math::approxEqual( nArg, nComp1 ); in IsValid()
731 bValid = !::rtl::math::approxEqual( nArg, nComp1 ); in IsValid()
734 bValid = ( nArg > nComp1 ) && !::rtl::math::approxEqual( nArg, nComp1 ); in IsValid()
737 bValid = ( nArg >= nComp1 ) || ::rtl::math::approxEqual( nArg, nComp1 ); in IsValid()
740 bValid = ( nArg < nComp1 ) && !::rtl::math::approxEqual( nArg, nComp1 ); in IsValid()
743 bValid = ( nArg <= nComp1 ) || ::rtl::math::approxEqual( nArg, nComp1 ); in IsValid()
747 ::rtl::math::approxEqual( nArg, nComp1 ) || ::rtl::math::approxEqual( nArg, nComp2 ); in IsValid()
751 !::rtl::math::approxEqual( nArg, nComp1 ) && !::rtl::math::approxEqual( nArg, nComp2 ); in IsValid()
754 bValid = !::rtl::math::approxEqual( nComp1, 0.0 ); in IsValid()
768 return !::rtl::math::approxEqual( nVal1, 0.0 ); in IsValidStr()
H A Ddptablecache.cxx224 return IsValue() ? ( r.IsValue() && rtl::math::approxEqual( fValue, r.fValue ) ) : in IsCaseInsEqual()
253 return rtl::math::approxEqual( fValue, r.fValue ); in operator ==()
272 if ( rtl::math::approxEqual( rA.fValue, rB.fValue ) ) in Compare()
687 bOk = ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
690 bOk = (nCellVal < rEntry.nVal) && !::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
693 bOk = (nCellVal > rEntry.nVal) && !::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
696 bOk = (nCellVal < rEntry.nVal) || ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
699 bOk = (nCellVal > rEntry.nVal) || ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
702 bOk = !::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
H A Ddpgroup.cxx168 … if ( !bHasNonInteger && ( rInfo.DateValues || !rtl::math::approxEqual( fEndValue, rInfo.End ) ) ) in lcl_GetNumGroupName()
222 return rtl::math::approxEqual( fValue, rtl::math::approxFloor(fValue) ); in IsInteger()
230 if ( fValue < rInfo.Start && !rtl::math::approxEqual( fValue, rInfo.Start ) ) in lcl_GetNumGroupForValue()
236 if ( fValue > rInfo.End && !rtl::math::approxEqual( fValue, rInfo.End ) ) in lcl_GetNumGroupForValue()
246 if ( rtl::math::approxEqual( fGroupStart, rInfo.End ) && in lcl_GetNumGroupForValue()
247 !rtl::math::approxEqual( fGroupStart, rInfo.Start ) ) in lcl_GetNumGroupForValue()
311 using ::rtl::math::approxEqual; in match()
322 …if ( rCellData.GetValue() < mpNumInfo->Start && !approxEqual(rCellData.GetValue(), mpNumInfo->Star… in match()
325 … if ( rCellData.GetValue() > mpNumInfo->End && !approxEqual(rCellData.GetValue(), mpNumInfo->End) ) in match()
474 if ( fValue < pNumInfo->Start && !rtl::math::approxEqual( fValue, pNumInfo->Start ) ) in lcl_GetDatePartValue()
[all …]
H A Dtable3.cxx1017 bOk = ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
1020 bOk = (nCellVal < rEntry.nVal) && !::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
1023 bOk = (nCellVal > rEntry.nVal) && !::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
1026 bOk = (nCellVal < rEntry.nVal) || ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
1028 bTestEqual = ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
1031 bOk = (nCellVal > rEntry.nVal) || ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
1033 bTestEqual = ::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
1036 bOk = !::rtl::math::approxEqual( nCellVal, rEntry.nVal ); in ValidQuery()
/aoo41x/main/chart2/source/view/axes/
H A DTickmarks_Equidistant.cxx55 if( !approxEqual(fRet, fMin) ) in getMinimumAtIncrement()
74 if( !approxEqual(fRet, fMax) ) in getMaximumAtIncrement()
235 if( !approxEqual(m_pfCurrentValues[0],m_fOuterMajorTickBorderMax) ) in getMajorTick()
240 if( !approxEqual(m_pfCurrentValues[0],m_fOuterMajorTickBorderMin) ) in getMajorTick()
308 if( !approxEqual(fScaledValue,m_fScaledVisibleMax) ) in isVisible()
313 if( !approxEqual(fScaledValue,m_fScaledVisibleMin) ) in isVisible()
H A DTickmarkHelper.cxx351 if( !approxEqual(fRet, fMin) ) in getMinimumAtIncrement()
369 if( !approxEqual(fRet, fMax) ) in getMaximumAtIncrement()
500 if( !approxEqual(m_pfCurrentValues[0],m_fOuterMajorTickBorderMax) ) in getMajorTick()
505 if( !approxEqual(m_pfCurrentValues[0],m_fOuterMajorTickBorderMin) ) in getMajorTick()
574 if( !approxEqual(fScaledValue,m_fScaledVisibleMax) ) in isVisible()
579 if( !approxEqual(fScaledValue,m_fScaledVisibleMin) ) in isVisible()
H A DVCartesianAxis.cxx428 if( !::rtl::math::approxEqual( rAxisLabelProperties.fRotationAngleDegree, 0.0 ) ) in isBreakOfLabelsAllowed()
443 if( !::rtl::math::approxEqual( rAxisLabelProperties.fRotationAngleDegree, 0.0 ) ) in isAutoStaggeringOfLabelsAllowed()
748 && ::rtl::math::approxEqual( rAxisLabelProperties.fRotationAngleDegree, 0.0 ) in createTextShapes()
985 if( ::rtl::math::approxEqual( fYOther, fYStart) ) in get2DAxisMainLine()
1039 if( ::rtl::math::approxEqual( fXOther, fXStart) ) in get2DAxisMainLine()
1092 if( ::rtl::math::approxEqual( fYOther, fYStart) ) in get2DAxisMainLine()
1105 if( ::rtl::math::approxEqual( fXOther, fXStart) ) in get2DAxisMainLine()
1141 if( !::rtl::math::approxEqual( fDeltaX, 0.0 ) ) // prefere left-right algnments in get2DAxisMainLine()
1401 …aComplexProps.bOverlapAllowed = !::rtl::math::approxEqual( aComplexProps.fRotationAngleDegree, 0.0… in createLabels()
H A DScaleAutomatism.cxx346 … else if( ::rtl::math::approxEqual( fSourceMinimum, ::rtl::math::approxFloor( fSourceMinimum ) ) ) in calculateExplicitIncrementAndScaleForLogarithmic()
352 … else if( ::rtl::math::approxEqual( fSourceMaximum, ::rtl::math::approxFloor( fSourceMaximum ) ) ) in calculateExplicitIncrementAndScaleForLogarithmic()
400 if( ::rtl::math::approxEqual( fTempMaximum, fMaximumFloor ) ) in calculateExplicitIncrementAndScaleForLogarithmic()
/aoo41x/main/chart2/source/controller/itemsetwrapper/
H A DErrorBarItemConverter.cxx212 if( ! ( ::rtl::math::approxEqual( fPos, fValue ) && in ApplySpecialItem()
213 ::rtl::math::approxEqual( fNeg, fValue ))) in ApplySpecialItem()
232 if( ! ::rtl::math::approxEqual( fPos, fValue )) in ApplySpecialItem()
250 if( ! ::rtl::math::approxEqual( fNeg, fValue )) in ApplySpecialItem()
H A DStatisticsItemConverter.cxx314 ! ( ::rtl::math::approxEqual( fPos, fValue ) && in ApplySpecialItem()
315 ::rtl::math::approxEqual( fNeg, fValue ))) in ApplySpecialItem()
339 ! ::rtl::math::approxEqual( fPos, fValue )) in ApplySpecialItem()
360 ! ::rtl::math::approxEqual( fNeg, fValue )) in ApplySpecialItem()
/aoo41x/main/sal/inc/rtl/
H A Dmath.hxx252 inline bool approxEqual(double a, double b) in approxEqual() function
274 && approxEqual( a, -b ) ) in approxAdd()
286 if ( ((a < 0.0 && b < 0.0) || (a > 0.0 && b > 0.0)) && approxEqual( a, b ) ) in approxSub()
/aoo41x/main/xmloff/source/style/
H A Dnumehelp.cxx200 if (::rtl::math::approxEqual( fTempValue, 1.0 )) in WriteAttributes()
206 if (::rtl::math::approxEqual( rValue, 0.0 )) in WriteAttributes()
483 if (::rtl::math::approxEqual( fTempValue, 1.0 )) in WriteAttributes()
489 if (::rtl::math::approxEqual( rValue, 0.0 )) in WriteAttributes()
/aoo41x/main/canvas/source/cairo/
H A Dcairo_canvashelper.cxx1318 if( ! ::rtl::math::approxEqual( aMatrix.xx, 1 ) && in implDrawBitmapSurface()
1319 ! ::rtl::math::approxEqual( aMatrix.yy, 1 ) && in implDrawBitmapSurface()
1320 ::rtl::math::approxEqual( aMatrix.x0, 0 ) && in implDrawBitmapSurface()
1321 ::rtl::math::approxEqual( aMatrix.y0, 0 ) && in implDrawBitmapSurface()
1389 ::rtl::math::approxEqual( aMatrix.xx, 1 ) && in implDrawBitmapSurface()
1390 ::rtl::math::approxEqual( aMatrix.yy, 1 ) && in implDrawBitmapSurface()
1391 ::rtl::math::approxEqual( aMatrix.x0, 0 ) && in implDrawBitmapSurface()
1392 ::rtl::math::approxEqual( aMatrix.y0, 0 ) ) in implDrawBitmapSurface()
H A Dcairo_canvashelper_text.cxx88 if( !::rtl::math::approxEqual(aScale.getX(), aScale.getY()) ) in setupFontTransform()
105 if( !::rtl::math::approxEqual(aScale.getY(), 1.0) ) in setupFontTransform()
/aoo41x/main/chart2/source/tools/
H A DExponentialRegressionCurveCalculator.cxx149 bool bHasSlope = !rtl::math::approxEqual( fSlope, 1.0 ); in ImplGetRepresentation()
150 bool bHasIntercept = !rtl::math::approxEqual( fIntercept, 1.0 ); in ImplGetRepresentation()
/aoo41x/main/chart2/source/model/template/
H A DPieChartTypeTemplate.cxx369 if( ! ::rtl::math::approxEqual( fPointOffset, fOffset ) ) in matchesTemplate()
507 ::rtl::math::approxEqual( fOffset, fDefaultOffset )) in applyStyle()
521 ! ::rtl::math::approxEqual( fPointOffset, fDefaultOffset ) ) in applyStyle()
/aoo41x/main/canvas/source/vcl/
H A Dspritehelper.cxx309 ::rtl::math::approxEqual(fAlpha, 1.0) && in redraw()
354 if( ::rtl::math::approxEqual(fAlpha, 1.0) ) in redraw()
H A Dimpltools.cxx137 if( !::rtl::math::approxEqual(aScale.getX(), aScale.getY()) ) in setupFontTransform()
154 if( !::rtl::math::approxEqual(aScale.getY(), 1.0) ) in setupFontTransform()
H A Dcanvashelper_texturefill.cxx852 if( !::rtl::math::approxEqual( textures[0].Alpha, in fillTexturedPolyPolygon()
1040 if( !::rtl::math::approxEqual( textures[0].Alpha, in fillTexturedPolyPolygon()
1089 if( !::rtl::math::approxEqual( textures[0].Alpha, in fillTexturedPolyPolygon()
/aoo41x/main/chart2/source/view/charttypes/
H A DPieChart.cxx211 if( !::rtl::math::approxEqual( fExplodePercentage, 0.0 ) ) in createDataPoint()
481 if( !::rtl::math::approxEqual( fExplodePercentage, 0.0 ) ) in createShapes()
823 if( ::rtl::math::approxEqual( fPageDiagonaleLength, 0.0 ) ) in rearrangeLabelToAvoidOverlapIfRequested()
/aoo41x/main/canvas/source/directx/
H A Ddx_textlayout_drawhelper.cxx174 if(!::rtl::math::approxEqual(rFontMatrix.m00, rFontMatrix.m11)) in drawText()
306 if(!::rtl::math::approxEqual(rFontMatrix.m00, rFontMatrix.m11)) in queryTextBounds()
H A Ddx_canvashelper_texturefill.cxx231 if( !::rtl::math::approxEqual(rValues.mnAspectRatio, in fillPolygonalGradient()
500 if( ::rtl::math::approxEqual( rTexture.Alpha, in fillBitmap()
/aoo41x/main/sc/source/core/tool/
H A Dinterpr2.cxx1084 if(!::rtl::math::approxEqual(fAnfang,::rtl::math::approxFloor(fAnfang))) in ScVDB()
1088 if(fAnfang>fDauer/2 || ::rtl::math::approxEqual(fAnfang,fDauer/2)) in ScVDB()
1266 if (rtl::math::approxEqual( fabs(fX), 0.0)) in RateIteration()
1282 if (rtl::math::approxEqual( fabs(fTermDerivation), 0.0)) in RateIteration()
1302 if (rtl::math::approxEqual( fabs(fX), 0.0)) in RateIteration()
1318 if (rtl::math::approxEqual( fabs(fTermDerivation), 0.0)) in RateIteration()

Completed in 193 milliseconds

123