Home
last modified time | relevance | path

Searched refs:fVal (Results 1 – 25 of 128) sorted by relevance

123456

/aoo4110/main/sc/source/core/tool/
H A Dscmatrix.cxx126 double fVal; in ScMatrix() local
183 double fVal; in Store() local
538 mRes.pMat[i].fVal = pMat[i].fVal; in MatCopy()
671 pMat[j].fVal = fVal; in FillDouble()
680 pMat[j].fVal = fVal; in FillDouble()
704 pMat[j].fVal = (pMat[j].fVal == 0.0); in CompareEqual()
722 pMat[j].fVal = (pMat[j].fVal != 0.0); in CompareNotEqual()
740 pMat[j].fVal = (pMat[j].fVal < 0.0); in CompareLess()
758 pMat[j].fVal = (pMat[j].fVal > 0.0); in CompareGreater()
776 pMat[j].fVal = (pMat[j].fVal <= 0.0); in CompareLessEqual()
[all …]
H A Dinterpr1.cxx138 fVal = pMatVal->fVal; in ScIfJump()
270 fVal = pMatVal->fVal; in ScChoseJump()
1684 if (fVal < 1.0) in ScArcCosHyp()
2787 double fVal; in ScValue() local
2892 if (fVal < 0.0 || fVal >= 256.0) in ScChar()
3318 case ifSUMSQ: fRes += fVal * fVal; break; in IterateParameters()
3441 fRes += fVal * fVal; in IterateParameters()
7457 fVal = ceil(fVal*fFac-0.5)/fFac; in ScCurrency()
7459 fVal = floor(fVal*fFac+0.5)/fFac; in ScCurrency()
7553 fVal = ceil(fVal*fFac-0.5)/fFac; in ScFixed()
[all …]
H A Dinterpr3.cxx2289 fSumSqr += fVal*fVal; in ScZTest()
2302 fSumSqr += fVal*fVal; in ScZTest()
2321 fSumSqr += fVal*fVal; in ScZTest()
2326 fSumSqr += fVal*fVal; in ScZTest()
2346 fSumSqr += fVal * fVal; in ScZTest()
2401 fSumSqr1 += fVal * fVal; in CalculateTest()
2412 fSumSqr2 += fVal * fVal; in CalculateTest()
2562 fSumSqr1 += fVal * fVal; in ScFTest()
2573 fSumSqr2 += fVal * fVal; in ScFTest()
3181 return fVal + fDiff * (*iter - fVal); in GetPercentile()
[all …]
H A Dinterpr2.cxx187 double fVal; in ScGetDateValue() local
418 double fVal; in ScGetTimeValue() local
549 if (fVal < 0.0) in ScEven()
559 if (fVal >= 0.0) in ScOdd()
561 fVal = ::rtl::math::approxCeil(fVal); in ScOdd()
563 fVal += 1.0; in ScOdd()
567 fVal = ::rtl::math::approxFloor(fVal); in ScOdd()
571 PushDouble(fVal); in ScOdd()
608 if (fVal > 0.0) in ScLn()
618 if (fVal > 0.0) in ScLog10()
[all …]
H A Dinterpr5.cxx1230 double fVal; in CalculateAddSub() local
1235 fVal = fVal1; in CalculateAddSub()
1241 fVal = fVal2; in CalculateAddSub()
1434 double fVal; in ScMul() local
1438 fVal = fVal1; in ScMul()
1509 double fVal; in ScDiv() local
1591 double fVal; in ScPow() local
1724 fSum += fVal * fVal; in CalculateSumX2MY2SumX2DY2()
1727 fSum += fVal * fVal; in CalculateSumX2MY2SumX2DY2()
1729 fSum -= fVal * fVal; in CalculateSumX2MY2SumX2DY2()
[all …]
H A Drangeseq.cxx60 long lcl_DoubleToLong( double fVal ) in lcl_DoubleToLong() argument
62 double fInt = (fVal >= 0.0) ? ::rtl::math::approxFloor( fVal ) : in lcl_DoubleToLong()
63 ::rtl::math::approxCeil( fVal ); in lcl_DoubleToLong()
240 double fVal = pMatrix->GetDouble( nCol, nRow ); in FillStringArray() local
242 pFormatter->GetOutputString( fVal, 0, aStr, &pColor ); in FillStringArray()
344 double fVal = pMatrix->GetDouble( nCol, nRow ); in FillMixedArray() local
346 pColAry[nCol] <<= (fVal ? true : false); in FillMixedArray()
348 pColAry[nCol] <<= fVal; in FillMixedArray()
431 double fVal; in CreateMixedMatrix() local
436 pMatrix->PutBoolean( (fVal ? true : false), in CreateMixedMatrix()
[all …]
H A Dconsoli.cxx458 double fVal = 0.0; in lcl_CalcData() local
463 fVal = fCount; in lcl_CalcData()
469 fVal = fSum; in lcl_CalcData()
473 fVal = fSum / fCount; in lcl_CalcData()
480 fVal = sqrt((fSumSqr - fSum/fCount)/(fCount-1.0)); in lcl_CalcData()
488 fVal = sqrt((fSumSqr - fSum/fCount)/fCount); in lcl_CalcData()
496 fVal = (fSumSqr - fSum/fCount)/(fCount-1.0); in lcl_CalcData()
504 fVal = (fSumSqr - fSum/fCount)/fCount; in lcl_CalcData()
516 return fVal; in lcl_CalcData()
725 double fVal = lcl_CalcData( eFunction, ppCount[nArrX][nArrY], in OutputToDocument() local
[all …]
H A Dinterpr4.cxx185 double fVal = pCell->GetValue(); in GetValueCellValue() local
186 if ( bCalcAsShown && fVal != 0.0 ) in GetValueCellValue()
189 fVal = pDok->RoundValueAsShown( fVal, nFormat ); in GetValueCellValue()
191 return fVal; in GetValueCellValue()
989 PushDouble( fVal); in PushCellResultToken()
1987 double fVal = PopDouble(); in GetString() local
2092 rDouble = pMatVal->fVal; in GetDoubleOrStringFromMatrix()
2095 rDouble = pMatVal->fVal; in GetDoubleOrStringFromMatrix()
2382 double fVal = GetDouble(); in ScExternal() local
2383 double fInt = (fVal >= 0.0) ? ::rtl::math::approxFloor( fVal ) : in ScExternal()
[all …]
/aoo4110/main/basegfx/inc/basegfx/numeric/
H A Dftools.hxx63 inline sal_Int32 fround( double fVal ) in fround() argument
65 … return fVal > 0.0 ? static_cast<sal_Int32>( fVal + .5 ) : -static_cast<sal_Int32>( -fVal + .5 ); in fround()
72 inline sal_Int64 fround64( double fVal ) in fround64() argument
74 … return fVal > 0.0 ? static_cast<sal_Int64>( fVal + .5 ) : -static_cast<sal_Int64>( -fVal + .5 ); in fround64()
89 inline double pruneScaleValue( double fVal ) in pruneScaleValue() argument
100 if(fVal < 0.0) in pruneScaleValue()
101 return (fVal < -0.00001 ? fVal : -0.00001); in pruneScaleValue()
103 return (fVal > 0.00001 ? fVal : 0.00001); in pruneScaleValue()
/aoo4110/main/sal/rtl/source/
H A Dmath.cxx101 fVal = x * fPSum / fQSum; in lcl_Erf0065()
709 double fVal = 0.0; in stringToDouble() local
744 fVal = HUGE_VAL; in stringToDouble()
764 fVal = fVal * 10.0 + static_cast< double >( c - CharT('0') ); in stringToDouble()
825 if ( fVal == 0.0 ) in stringToDouble()
864 fVal = rtl::math::pow10Exp( fVal, -nValExp ); in stringToDouble()
865 fVal = rtl::math::pow10Exp( fVal, nAllExp ); in stringToDouble()
868 fVal = rtl::math::pow10Exp( fVal, nExp ); // normal in stringToDouble()
880 fVal = HUGE_VAL; in stringToDouble()
917 fVal = -fVal; in stringToDouble()
[all …]
/aoo4110/main/stoc/source/typeconv/
H A Dconvert.cxx273 double fVal; in getHyperValue() local
274 if (getNumericValue( fVal, rStr ) && in getHyperValue()
275 fVal >= (double)SAL_INT64_MIN && in getHyperValue()
276 fVal <= DOUBLE_SAL_UINT64_MAX) in getHyperValue()
278 rnVal = (sal_Int64)round( fVal ); in getHyperValue()
407 nRet = (fVal > SAL_INT64_MAX ? (sal_Int64)(sal_uInt64)fVal : (sal_Int64)fVal); in toHyper()
408 if (fVal >= min && fVal <= unsigned_int64_to_double( max )) in toHyper()
419 nRet = (fVal > SAL_INT64_MAX ? (sal_Int64)(sal_uInt64)fVal : (sal_Int64)fVal); in toHyper()
420 if (fVal >= min && fVal <= unsigned_int64_to_double( max )) in toHyper()
439 nRet = (fVal > SAL_INT64_MAX ? (sal_Int64)(sal_uInt64)fVal : (sal_Int64)fVal); in toHyper()
[all …]
/aoo4110/main/sc/source/filter/excel/
H A Dexcrecds.cxx556 fVal( 0.0 ), in ExcFilterCondition()
576 fVal = fV; in SetCondition()
588 rStrm << fVal; in Save()
622 case EXC_AFTYPE_DOUBLE: return OString::valueOf( fVal ); in lcl_GetValue()
635 XML_val, lcl_GetValue( nType, fVal, pText ).getStr(), in SaveXml()
660 double fVal, String* pText, sal_Bool bSimple ) in AddCondition() argument
672 aCond[ nInd ].SetCondition( nType, nOp, fVal, pText ); in AddCondition()
721 double fVal = 0.0; in AddEntry() local
751 if( fVal < 0 ) fVal = 0; in AddEntry()
752 if( fVal >= 501 ) fVal = 500; in AddEntry()
[all …]
H A Dxltools.cxx117 double fVal; in GetDoubleFromRK() member
120 fVal = 0.0; in GetDoubleFromRK()
126 fVal = nTemp; in GetDoubleFromRK()
134 fVal /= 100.0; in GetDoubleFromRK()
136 return fVal; in GetDoubleFromRK()
260 double fVal; in ErrorToDouble() member
263 ::rtl::math::setNan( &fVal ); in ErrorToDouble()
265 return fVal; in ErrorToDouble()
/aoo4110/main/scaddins/source/analysis/
H A Dfinancial.cxx58 double fVal = aAnyConv.getDouble( xOpt, rVal, 1000.0 ); in getAccrint() local
60 if( fRate <= 0.0 || fVal <= 0.0 || CHK_Freq || nIssue >= nSettle ) in getAccrint()
71 double fVal = aAnyConv.getDouble( xOpt, rVal, 1000.0 ); in getAccrintm() local
73 if( fRate <= 0.0 || fVal <= 0.0 || nIssue >= nSettle ) in getAccrintm()
132 fVal <= 0.0 || ( nPayType != 0 && nPayType != 1 ) ) in getCumprinc()
135 fRmz = GetRmz( fRate, nNumPeriods, fVal, 0.0, nPayType ); in getCumprinc()
145 fKapZ = fRmz + fVal * fRate; in getCumprinc()
170 fVal <= 0.0 || ( nPayType != 0 && nPayType != 1 ) ) in getCumipmt()
173 fRmz = GetRmz( fRate, nNumPeriods, fVal, 0.0, nPayType ); in getCumipmt()
183 fZinsZ = -fVal; in getCumipmt()
[all …]
H A Danalysis.cxx966 double fVal = ConvertToDec( aNum, 2, SCA_MAXPLACES ); in getBin2Oct() local
969 return ConvertFromDec( fVal, SCA_MIN8, SCA_MAX8, 8, nPlaces, SCA_MAXPLACES, bUsePlaces ); in getBin2Oct()
982 double fVal = ConvertToDec( aNum, 2, SCA_MAXPLACES ); in getBin2Hex() local
985 return ConvertFromDec( fVal, SCA_MIN16, SCA_MAX16, 16, nPlaces, SCA_MAXPLACES, bUsePlaces ); in getBin2Hex()
991 double fVal = ConvertToDec( aNum, 8, SCA_MAXPLACES ); in getOct2Bin() local
994 return ConvertFromDec( fVal, SCA_MIN2, SCA_MAX2, 2, nPlaces, SCA_MAXPLACES, bUsePlaces ); in getOct2Bin()
1007 double fVal = ConvertToDec( aNum, 8, SCA_MAXPLACES ); in getOct2Hex() local
1040 double fVal = ConvertToDec( aNum, 16, SCA_MAXPLACES ); in getHex2Bin() local
1043 return ConvertFromDec( fVal, SCA_MIN2, SCA_MAX2, 2, nPlaces, SCA_MAXPLACES, bUsePlaces ); in getHex2Bin()
1056 double fVal = ConvertToDec( aNum, 16, SCA_MAXPLACES ); in getHex2Oct() local
[all …]
/aoo4110/main/svx/source/items/
H A Dchrtitem.cxx258 fVal(fValue) in SvxDoubleItem()
267 rIn >> fVal; in SvxDoubleItem()
274 fVal(rItem.fVal) in SvxDoubleItem()
282 rtl::OString aOStr( rtl::math::doubleToString( fVal, rtl_math_StringFormat_E, 4, '.', false ) ); in GetValueText()
296 rText = ::rtl::math::doubleToUString( fVal, rtl_math_StringFormat_E, 4, in GetPresentation()
308 return (((SvxDoubleItem&)rItem).fVal == fVal); in operator ==()
331 rOut << fVal; in Store()
362 rVal <<= fVal; in QueryValue()
369 return rVal >>= fVal; in PutValue()
/aoo4110/main/sc/inc/
H A Dscmatrix.hxx47 double fVal; member
54 sal_uInt16 GetError() const { return GetDoubleErrorValue( fVal); } in GetError()
57 bool GetBoolean() const { return fVal != 0.; } in GetBoolean()
270 void PutDouble( double fVal, SCSIZE nC, SCSIZE nR);
271 void PutDouble( double fVal, SCSIZE nIndex) in PutDouble() argument
272 { pMat[nIndex].fVal = fVal; } in PutDouble()
287 void FillDouble( double fVal,
313 sal_uInt16 nError = GetDoubleErrorValue( pMat[nIndex].fVal); in GetDouble()
317 return pMat[nIndex].fVal; in GetDouble()
/aoo4110/main/formula/inc/formula/
H A Derrorcodes.hxx90 double fVal; in CreateDoubleError() member
93 ::rtl::math::setNan( &fVal ); in CreateDoubleError()
95 return fVal; in CreateDoubleError()
100 inline sal_uInt16 GetDoubleErrorValue( double fVal ) in GetDoubleErrorValue() argument
102 if ( ::rtl::math::isFinite( fVal ) ) in GetDoubleErrorValue()
104 if ( ::rtl::math::isInf( fVal ) ) in GetDoubleErrorValue()
107 &fVal)->nan_parts.fraction_lo; in GetDoubleErrorValue()
/aoo4110/main/chart2/source/controller/itemsetwrapper/
H A DTitleItemConverter.cxx199 double fVal = static_cast< double >( in ApplySpecialItem() local
207 ( bPropExisted && fOldVal != fVal )) in ApplySpecialItem()
209 GetPropertySet()->setPropertyValue( C2U( "TextRotation" ), uno::makeAny( fVal )); in ApplySpecialItem()
228 double fVal = 0; in FillSpecialItem() local
230 if( GetPropertySet()->getPropertyValue( C2U( "TextRotation" )) >>= fVal ) in FillSpecialItem()
233 ::rtl::math::round( fVal * 100.0 ) ) )); in FillSpecialItem()
/aoo4110/main/basegfx/source/vector/
H A Db2ivector.cxx98 double fVal(rVecA.getX() * rVecB.getY() - rVecA.getY() * rVecB.getX()); in areParallel() local
99 return ::basegfx::fTools::equalZero(fVal); in areParallel()
104 double fVal(rVecA.getX() * rVecB.getY() - rVecA.getY() * rVecB.getX()); in getOrientation() local
106 if(fVal > 0.0) in getOrientation()
111 if(fVal < 0.0) in getOrientation()
/aoo4110/main/framework/source/uielement/
H A Dprogressbarwrapper.cxx241 double fVal( 0 ); in setValue() local
244 fVal = ( double( nValue ) / double( m_nRange )) * 100; in setValue()
245 fVal = std::max( double( 0 ), std::min( fVal, double( 100 ))); in setValue()
248 if ( m_nValue != sal_Int32( fVal )) in setValue()
250 m_nValue = sal_Int32( fVal ); in setValue()
/aoo4110/main/sw/source/core/fields/
H A Dflddat.cxx85 double fVal; in Expand() local
90 fVal = GetDateTime(GetDoc(), aDateTime); in Expand()
93 fVal = GetValue(); in Expand()
96 fVal += (double)(nOffset * 60L) / 86400.0; in Expand()
98 return ExpandValue(fVal, GetFormat(), GetLanguage()); in Expand()
/aoo4110/main/xmloff/source/draw/
H A Dxexptran.cxx288 ImpSdXMLExpTransObj2DRotate(double fVal) in ImpSdXMLExpTransObj2DRotate()
289 : ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_ROTATE), mfRotate(fVal) {} in ImpSdXMLExpTransObj2DRotate()
306 ImpSdXMLExpTransObj2DSkewX(double fVal) in ImpSdXMLExpTransObj2DSkewX()
307 : ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWX), mfSkewX(fVal) {} in ImpSdXMLExpTransObj2DSkewX()
312 ImpSdXMLExpTransObj2DSkewY(double fVal) in ImpSdXMLExpTransObj2DSkewY()
313 : ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWY), mfSkewY(fVal) {} in ImpSdXMLExpTransObj2DSkewY()
744 ImpSdXMLExpTransObj3DRotateX(double fVal) in ImpSdXMLExpTransObj3DRotateX()
745 : ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X), mfRotateX(fVal) {} in ImpSdXMLExpTransObj3DRotateX()
750 ImpSdXMLExpTransObj3DRotateY(double fVal) in ImpSdXMLExpTransObj3DRotateY()
751 : ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y), mfRotateY(fVal) {} in ImpSdXMLExpTransObj3DRotateY()
[all …]
/aoo4110/main/vcl/source/window/
H A Dwindow2.cxx914 inline long WinFloatRound( double fVal ) in WinFloatRound() argument
916 return( fVal > 0.0 ? (long) ( fVal + 0.5 ) : -(long) ( -fVal + 0.5 ) ); in WinFloatRound()
1268 const double fVal = (double)nNewPos - ((double)nX * pHScrl->GetLineSize()); in ImplHandleScroll() local
1270 if ( fVal < LONG_MIN ) in ImplHandleScroll()
1272 else if ( fVal > LONG_MAX ) in ImplHandleScroll()
1275 nNewPos = (long)fVal; in ImplHandleScroll()
1291 const double fVal = (double)nNewPos - ((double)nY * pVScrl->GetLineSize()); in ImplHandleScroll() local
1293 if ( fVal < LONG_MIN ) in ImplHandleScroll()
1295 else if ( fVal > LONG_MAX ) in ImplHandleScroll()
1298 nNewPos = (long)fVal; in ImplHandleScroll()
/aoo4110/main/sc/source/filter/dif/
H A Ddifexp.cxx113 double fVal; in ScExportDif() local
180 fVal = ( ( ScValueCell * ) pAkt )->GetValue(); in ScExportDif()
182 fVal, rtl_math_StringFormat_G, 14, '.', in ScExportDif()
208 fVal = ( ( ScFormulaCell * ) pAkt )->GetValue(); in ScExportDif()
210 fVal, rtl_math_StringFormat_G, 14, in ScExportDif()

Completed in 212 milliseconds

123456