/aoo4110/main/sal/rtl/source/ |
H A D | math.cxx | 313 fValue = -fValue; in doubleToString() 965 fValue = -fValue; in rtl_math_round() 973 return bSign ? -fValue : fValue; in rtl_math_round() 1001 fValue = rtl::math::approxCeil( fValue ); in rtl_math_round() 1014 fValue = ((fValue - f) <= 0.5) ? f : ceil( fValue ); in rtl_math_round() 1020 fValue = ((fValue - f) < 0.5) ? f : ceil( fValue ); in rtl_math_round() 1048 fValue = floor( fValue + 0.5 ); in rtl_math_round() 1064 return bSign ? -fValue : fValue; in rtl_math_round() 1076 if (fValue == 0.0 || fValue == HUGE_VAL || !::rtl::math::isFinite( fValue)) in rtl_math_approxValue() 1084 fValue = -fValue; in rtl_math_approxValue() [all …]
|
/aoo4110/main/sal/inc/rtl/ |
H A D | math.hxx | 198 inline double expm1(double fValue) in expm1() argument 200 return rtl_math_expm1(fValue); in expm1() 205 inline double log1p(double fValue) in log1p() argument 207 return rtl_math_log1p(fValue); in log1p() 212 inline double atanh(double fValue) in atanh() argument 214 return rtl_math_atanh(fValue); in atanh() 219 inline double erf(double fValue) in erf() argument 221 return rtl_math_erf(fValue); in erf() 226 inline double erfc(double fValue) in erfc() argument 228 return rtl_math_erfc(fValue); in erfc() [all …]
|
H A D | math.h | 203 sal_Int32 nResultOffset, double fValue, 278 sal_Int32 nResultOffset, double fValue, 381 double SAL_CALL rtl_math_round(double fValue, int nDecPlaces, 404 double SAL_CALL rtl_math_approxValue(double fValue) SAL_THROW_EXTERN_C(); 413 double SAL_CALL rtl_math_expm1(double fValue) SAL_THROW_EXTERN_C(); 422 double SAL_CALL rtl_math_log1p(double fValue) SAL_THROW_EXTERN_C(); 432 double SAL_CALL rtl_math_atanh(double fValue) SAL_THROW_EXTERN_C(); 441 double SAL_CALL rtl_math_erf(double fValue) SAL_THROW_EXTERN_C(); 450 double SAL_CALL rtl_math_erfc(double fValue) SAL_THROW_EXTERN_C(); 459 double SAL_CALL rtl_math_asinh(double fValue) SAL_THROW_EXTERN_C(); [all …]
|
/aoo4110/main/svx/source/items/ |
H A D | e3ditem.cxx | 70 double fValue; in SvxB3DVectorItem() local 71 rStream >> fValue; aVal.setX(fValue); in SvxB3DVectorItem() 72 rStream >> fValue; aVal.setY(fValue); in SvxB3DVectorItem() 73 rStream >> fValue; aVal.setZ(fValue); in SvxB3DVectorItem() 108 double fValue; in Create() local 109 rStream >> fValue; aStr.setX(fValue); in Create() 110 rStream >> fValue; aStr.setY(fValue); in Create() 111 rStream >> fValue; aStr.setZ(fValue); in Create() 123 fValue = aVal.getX(); rStream << fValue; in Store() 124 fValue = aVal.getY(); rStream << fValue; in Store() [all …]
|
/aoo4110/main/extensions/source/scanner/ |
H A D | sanedlg.cxx | 169 double fValue; in InitFields() local 625 double fValue; in IMPL_LINK() local 629 if( mfMin != mfMax && ( fValue < mfMin || fValue > mfMax ) ) in IMPL_LINK() 632 fValue = mfMin; in IMPL_LINK() 634 fValue = mfMax; in IMPL_LINK() 644 double fValue; in IMPL_LINK() local 867 double fValue; in EstablishQuantumRange() local 885 double fValue; in EstablishNumericOption() local 1284 double fValue; in SaveState() local 1348 double fValue; in SaveState() local [all …]
|
/aoo4110/main/framework/source/uielement/ |
H A D | spinfieldtoolbarcontroller.cxx | 378 double fValue; in executeControlCommand() local 397 double fValue; in executeControlCommand() local 414 double fValue; in executeControlCommand() local 429 aMin = bFloat ? ::rtl::OUString::valueOf( fValue ) : in executeControlCommand() 444 double fValue; in executeControlCommand() local 461 double fValue; in executeControlCommand() local 510 const Any& rAny, sal_Int32& nValue, double& fValue, bool& bFloat ) in impl_getValue() argument 525 bValueValid = rAny >>= fValue; in impl_getValue() 537 return rtl::OUString::valueOf( fValue ); in impl_formatOutputString() 539 return rtl::OUString::valueOf( sal_Int32( fValue )); in impl_formatOutputString() [all …]
|
/aoo4110/main/xmloff/source/draw/ |
H A D | xexptran.cxx | 559 fValue = Imp_GetDoubleChar(aStr, nPos, nLen, rConv, fValue); in SetString() 560 if(fValue != 0.0) in SetString() 598 fValue = Imp_GetDoubleChar(aStr, nPos, nLen, rConv, fValue); in SetString() 599 if(fValue != 0.0) in SetString() 609 fValue = Imp_GetDoubleChar(aStr, nPos, nLen, rConv, fValue); in SetString() 610 if(fValue != 0.0) in SetString() 1064 fValue = Imp_GetDoubleChar(aStr, nPos, nLen, rConv, fValue); in SetString() 1065 if(fValue != 0.0) in SetString() 1076 fValue = Imp_GetDoubleChar(aStr, nPos, nLen, rConv, fValue); in SetString() 1077 if(fValue != 0.0) in SetString() [all …]
|
/aoo4110/main/sc/source/core/data/ |
H A D | dptablecache.cxx | 96 double fValue = 0.0; in lcl_GetItemValue() local 119 fValue = xRow->getDouble(nCol); in lcl_GetItemValue() 181 nNumFormat( nNumFormatP ), aString(rS), fValue(fV), in ScDPItemData() 187 nNumFormat( 0 ), fValue(0.0), mbFlag( 0 ) in ScDPItemData() 211 fValue = fVal; in ScDPItemData() 224 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() 283 else if ( rA.fValue < rB.fValue ) in Compare() 302 DBG_TRACE1( "fValue= %f", fValue ); in dump() [all …]
|
H A D | dpgroup.cxx | 213 lcl_AppendDateStr( aBuffer, fValue, pFormatter ); in lcl_GetSpecialNumGroupName() 220 inline bool IsInteger( double fValue ) in IsInteger() argument 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() 242 double fDiff = fValue - rInfo.Start; in lcl_GetNumGroupForValue() 474 if ( fValue < pNumInfo->Start && !rtl::math::approxEqual( fValue, pNumInfo->Start ) ) in lcl_GetDatePartValue() 476 if ( fValue > pNumInfo->End && !rtl::math::approxEqual( fValue, pNumInfo->End ) ) in lcl_GetDatePartValue() 487 double fTime = fValue - ::rtl::math::approxFloor(fValue); in lcl_GetDatePartValue() 506 aDate += (long)::rtl::math::approxFloor( fValue ); in lcl_GetDatePartValue() [all …]
|
/aoo4110/main/oox/source/vml/ |
H A D | vmlformatting.cxx | 94 double fValue = 0.0; in decodePercent() local 100 return fValue; in decodePercent() 103 return fValue / 100.0; in decodePercent() 124 double fValue = 0.0; in decodeMeasureToEmu() local 126 if( !lclExtractDouble( fValue, nEndPos, rValue ) || (fValue == 0.0) ) in decodeMeasureToEmu() 143 fValue *= 914400.0; in decodeMeasureToEmu() 145 fValue *= 360000.0; in decodeMeasureToEmu() 147 fValue *= 36000.0; in decodeMeasureToEmu() 149 fValue *= 12700.0; in decodeMeasureToEmu() 151 fValue *= 152400.0; in decodeMeasureToEmu() [all …]
|
/aoo4110/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 809 if (fValue < 0.0) in convertTime() 812 fValue = - fValue; in convertTime() 816 fValue *= 24; in convertTime() 819 fValue *= 60; in convertTime() 821 fValue -= fMinsValue; in convertTime() 822 fValue *= 60; in convertTime() 1058 fValue -= nValue; in convertDateTime() 1072 if (fValue > 0.0) in convertDateTime() 1075 fValue *= 24; in convertDateTime() 1078 fValue *= 60; in convertDateTime() [all …]
|
/aoo4110/main/forms/source/xforms/ |
H A D | datatypes.cxx | 444 fValue = f; in _getValue() 758 double fValue( 0 ); in typedValueAsHumanReadableString() local 759 normalizeValue( _rValue, fValue ); in typedValueAsHumanReadableString() 760 return ::rtl::OUString::valueOf( fValue ); in typedValueAsHumanReadableString() 807 fValue = aToolsDate.GetDate(); in _getValue() 849 fValue = aToolsTime.GetTime(); in _getValue() 891 double fValue = 0; in lcl_normalizeDateTime() local 895 fValue += aToolsValue.GetTimeInDays(); in lcl_normalizeDateTime() 896 return fValue; in lcl_normalizeDateTime() 909 fValue = lcl_normalizeDateTime( aValue ); in _getValue() [all …]
|
/aoo4110/main/connectivity/source/commontools/ |
H A D | DateConversion.cxx | 251 double fValue = 0; in setValue() local 263 fValue = xFormatter->convertStringToNumber(nKeyToUse, rString); in setValue() 276 fValue = xFormatter->convertStringToNumber(nKeyToUse, sExpanded); in setValue() 284 DBTypeConversion::setValue(xVariant,rNullDate,fValue,nRealUsedTypeClass); in setValue() 292 xVariant->updateDouble(fValue); in setValue() 465 double fValue = getValue( xVariant, rNullDate ); in getFormattedValue() local 481 fValue -= toDays( rNullDate, aFormatterNullDate ); in getFormattedValue() 493 double fValue = xVariant->getDouble(); in getFormattedValue() local 495 aString = xFormatter->convertNumberToString(nKey, fValue); in getFormattedValue() 499 double fValue = xVariant->getDouble(); in getFormattedValue() local [all …]
|
/aoo4110/main/chart2/source/controller/itemsetwrapper/ |
H A D | ErrorBarItemConverter.cxx | 206 double fValue = in ApplySpecialItem() local 212 if( ! ( ::rtl::math::approxEqual( fPos, fValue ) && in ApplySpecialItem() 213 ::rtl::math::approxEqual( fNeg, fValue ))) in ApplySpecialItem() 216 uno::makeAny( fValue )); in ApplySpecialItem() 218 uno::makeAny( fValue )); in ApplySpecialItem() 226 double fValue = in ApplySpecialItem() local 232 if( ! ::rtl::math::approxEqual( fPos, fValue )) in ApplySpecialItem() 234 GetPropertySet()->setPropertyValue( C2U( "PositiveError" ), uno::makeAny( fValue )); in ApplySpecialItem() 244 double fValue = in ApplySpecialItem() local 250 if( ! ::rtl::math::approxEqual( fNeg, fValue )) in ApplySpecialItem() [all …]
|
H A D | StatisticsItemConverter.cxx | 307 double fValue = in ApplySpecialItem() local 314 ! ( ::rtl::math::approxEqual( fPos, fValue ) && in ApplySpecialItem() 315 ::rtl::math::approxEqual( fNeg, fValue ))) in ApplySpecialItem() 318 uno::makeAny( fValue )); in ApplySpecialItem() 320 uno::makeAny( fValue )); in ApplySpecialItem() 332 double fValue = in ApplySpecialItem() local 339 ! ::rtl::math::approxEqual( fPos, fValue )) in ApplySpecialItem() 341 xErrorBarProp->setPropertyValue( C2U( "PositiveError" ), uno::makeAny( fValue )); in ApplySpecialItem() 353 double fValue = in ApplySpecialItem() local 360 ! ::rtl::math::approxEqual( fNeg, fValue )) in ApplySpecialItem() [all …]
|
/aoo4110/main/xmloff/source/style/ |
H A D | xmlbahdl.cxx | 355 double fValue = 1.0; in importXML() local 359 fValue = rStrImpValue.toDouble(); in importXML() 365 fValue = ((double)nValue) / 100.0; in importXML() 367 rValue <<= fValue; in importXML() 375 double fValue = 0; in exportXML() local 377 if( rValue >>= fValue ) in exportXML() 379 fValue *= 100.0; in exportXML() 380 if( fValue > 0 ) fValue += 0.5; else fValue -= 0.5; in exportXML() 382 sal_Int32 nValue = (sal_Int32)fValue; in exportXML() 629 double fValue = 0; in exportXML() local [all …]
|
/aoo4110/main/sc/source/ui/dbgui/ |
H A D | dpgroupdlg.cxx | 93 double fValue; in GetValue() local 94 if( !ImplGetValue( fValue ) ) in GetValue() 95 fValue = 0.0; in GetValue() 96 return fValue; in GetValue() 99 void ScDPGroupEditHelper::SetValue( bool bAuto, double fValue ) in SetValue() argument 111 ImplSetValue( fValue ); in SetValue() 144 void ScDPNumGroupEditHelper::ImplSetValue( double fValue ) in ImplSetValue() argument 146 mrEdValue.SetValue( fValue ); in ImplSetValue() 165 void ScDPDateGroupEditHelper::ImplSetValue( double fValue ) in ImplSetValue() argument 168 aDate += static_cast< sal_Int32 >( fValue ); in ImplSetValue()
|
/aoo4110/main/basegfx/inc/basegfx/matrix/ |
H A D | b2dhommatrix.hxx | 57 void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue); 111 B2DHomMatrix& operator*=(double fValue); 112 B2DHomMatrix& operator/=(double fValue); 142 inline B2DHomMatrix operator*(const B2DHomMatrix& rMat, double fValue) in operator *() argument 145 aNew *= fValue; in operator *() 149 inline B2DHomMatrix operator/(const B2DHomMatrix& rMat, double fValue) in operator /() argument 152 aNew *= 1.0 / fValue; in operator /()
|
H A D | b3dhommatrix.hxx | 54 void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue); 120 B3DHomMatrix& operator*=(double fValue); 121 B3DHomMatrix& operator/=(double fValue); 149 inline B3DHomMatrix operator*(const B3DHomMatrix& rMat, double fValue) in operator *() argument 152 aNew *= fValue; in operator *() 156 inline B3DHomMatrix operator/(const B3DHomMatrix& rMat, double fValue) in operator /() argument 159 aNew *= 1.0 / fValue; in operator /()
|
/aoo4110/main/chart2/source/controller/dialogs/ |
H A D | ObjectNameProvider.cxx | 114 double fValue = 0; in lcl_getDataPointValueText() local 140 aData[nPointIndex]>>= fValue; in lcl_getDataPointValueText() 142 …aX = aNumberFormatterWrapper.getFormattedString( nNumberFormatKey, fValue, nLabelColor, bColorChan… in lcl_getDataPointValueText() 146 aData[nPointIndex]>>= fValue; in lcl_getDataPointValueText() 148 …aY = aNumberFormatterWrapper.getFormattedString( nNumberFormatKey, fValue, nLabelColor, bColorChan… in lcl_getDataPointValueText() 152 aData[nPointIndex]>>= fValue; in lcl_getDataPointValueText() 158 aData[nPointIndex]>>= fValue; in lcl_getDataPointValueText() 160 …aY_Min = aNumberFormatterWrapper.getFormattedString( nNumberFormatKey, fValue, nLabelColor, bColor… in lcl_getDataPointValueText() 164 aData[nPointIndex]>>= fValue; in lcl_getDataPointValueText() 170 aData[nPointIndex]>>= fValue; in lcl_getDataPointValueText() [all …]
|
/aoo4110/main/sc/source/ui/Accessibility/ |
H A D | AccessiblePreviewHeaderCell.cxx | 148 double fValue(0.0); in getCurrentValue() local 150 fValue = maCellPos.Col(); in getCurrentValue() 152 fValue = maCellPos.Row(); in getCurrentValue() 155 aAny <<= fValue; in getCurrentValue() 171 double fValue(0.0); in getMaximumValue() local 173 fValue = MAXCOL; in getMaximumValue() 175 fValue = MAXROW; in getMaximumValue() 177 aAny <<= fValue; in getMaximumValue() 183 double fValue(0.0); in getMinimumValue() local 185 aAny <<= fValue; in getMinimumValue()
|
/aoo4110/main/sc/source/filter/xml/ |
H A D | XMLExportDDELinks.cxx | 56 const sal_Bool bEmpty, const sal_Bool bString, const String& sValue, const double& fValue) in CellsEqual() argument 65 return (fPrevValue == fValue); in CellsEqual() 72 …Bool bEmpty, const sal_Bool bString, const String& sValue, const double& fValue, const sal_Int32 n… in WriteCell() argument 85 rExport.GetMM100UnitConverter().convertDouble(sBuffer, fValue); in WriteCell() 144 double fValue; in WriteTable() local 151 fValue = pMatVal->fVal; in WriteTable() 154 bEmpty, bString, sValue, fValue)) in WriteTable() 161 fPrevValue = fValue; in WriteTable()
|
/aoo4110/main/svl/source/numbers/ |
H A D | numfmuno.cxx | 188 double fValue = 0.0; in detectNumberFormat() local 189 if ( pFormatter->IsNumberFormat(aTemp, nUKey, fValue) ) in detectNumberFormat() 212 double fValue = 0.0; in convertStringToNumber() local 213 if ( pFormatter->IsNumberFormat(aTemp, nUKey, fValue) ) in convertStringToNumber() 214 fRet = fValue; in convertStringToNumber() 243 double fValue, util::Color aDefaultColor ) in queryColorForNumber() argument 316 pFormatter->GetInputLineString(fValue, nKey, aRet); in getInputString() 326 const rtl::OUString& aFormat, double fValue, in convertNumberToPreviewString() argument 344 aFormString, fValue, aOutString, &pColor, eLang ); in convertNumberToPreviewString() 347 aFormString, fValue, aOutString, &pColor, eLang ); in convertNumberToPreviewString() [all …]
|
/aoo4110/main/basegfx/inc/basegfx/range/ |
H A D | b1drange.hxx | 112 bool isInside(double fValue) const in isInside() 114 return maRange.isInside(fValue); in isInside() 132 void expand(double fValue) in expand() argument 134 maRange.expand(fValue); in expand() 147 void grow(double fValue) in grow() argument 149 maRange.grow(fValue); in grow()
|
/aoo4110/main/basegfx/source/matrix/ |
H A D | b2dhommatrix.cxx | 86 void B2DHomMatrix::set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue) in set() argument 88 mpImpl->set(nRow, nColumn, fValue); in set() 180 B2DHomMatrix& B2DHomMatrix::operator*=(double fValue) in operator *=() argument 184 if(!fTools::equal(fOne, fValue)) in operator *=() 185 mpImpl->doMulMatrix(fValue); in operator *=() 190 B2DHomMatrix& B2DHomMatrix::operator/=(double fValue) in operator /=() argument 194 if(!fTools::equal(fOne, fValue)) in operator /=() 195 mpImpl->doMulMatrix(1.0 / fValue); in operator /=()
|