Home
last modified time | relevance | path

Searched refs:fInt (Results 1 – 11 of 11) sorted by relevance

/trunk/main/tools/source/datetime/
H A Ddatetime.cxx325 double fInt, fFrac; in operator +=() local
328 fInt = ::rtl::math::approxCeil( fTimeInDays ); in operator +=()
329 fFrac = fInt <= fTimeInDays ? 0.0 : fTimeInDays - fInt; in operator +=()
333 fInt = ::rtl::math::approxFloor( fTimeInDays ); in operator +=()
334 fFrac = fInt >= fTimeInDays ? 0.0 : fTimeInDays - fInt; in operator +=()
336 Date::operator+=( long(fInt) ); // full days in operator +=()
/trunk/main/sc/source/filter/excel/
H A Dxltools.cxx141 double fFrac, fInt; in GetRKFromDouble() local
144 fFrac = modf( fValue, &fInt ); in GetRKFromDouble()
145 if( (fFrac == 0.0) && (fInt >= -536870912.0) && (fInt <= 536870911.0) ) // 2^29 in GetRKFromDouble()
147 rnRKValue = static_cast< sal_Int32 >( fInt ); in GetRKFromDouble()
154 fFrac = modf( fValue * 100.0, &fInt ); in GetRKFromDouble()
155 if( (fFrac == 0.0) && (fInt >= -536870912.0) && (fInt <= 536870911.0) ) in GetRKFromDouble()
157 rnRKValue = static_cast< sal_Int32 >( fInt ); in GetRKFromDouble()
H A Dxipivot.cxx114 double fInt = 0.0; in WriteToSource() local
115 double fFrac = modf( fValue, &fInt ); in WriteToSource()
116 short nFormatType = ((fFrac == 0.0) && (fInt != 0.0)) ? NUMBERFORMAT_DATE : in WriteToSource()
117 ((fInt == 0.0) ? NUMBERFORMAT_TIME : NUMBERFORMAT_DATETIME); in WriteToSource()
H A Dxeformula.cxx1202 double fInt; in ProcessDouble() local
1203 double fFrac = modf( fValue, &fInt ); in ProcessDouble()
1204 if( (fFrac == 0.0) && (0.0 <= fInt) && (fInt <= 65535.0) ) in ProcessDouble()
1205 AppendIntToken( static_cast< sal_uInt16 >( fInt ), rTokData.mnSpaces ); in ProcessDouble()
/trunk/main/oox/source/xls/
H A Dbiffhelper.cxx77 double fInt = 0.0; in lclCalcRkFromDouble() local
78 double fFrac = modf( rDecDbl.mfValue, &fInt ); in lclCalcRkFromDouble()
79 if( (fFrac == 0.0) && (-536870912.0 <= fInt) && (fInt <= 536870911.0) ) // 2^29 in lclCalcRkFromDouble()
81 ornRkValue = static_cast< sal_Int32 >( fInt ); in lclCalcRkFromDouble()
/trunk/main/scaddins/source/analysis/
H A Dfinancial.cxx277 double fInt; in getDollarfr() local
280 double fRet = modf( fDollarDec, &fInt ); in getDollarfr()
286 fRet += fInt; in getDollarfr()
297 double fInt; in getDollarde() local
300 double fRet = modf( fDollarFrac, &fInt ); in getDollarde()
306 fRet += fInt; in getDollarde()
H A Danalysishelper.cxx715 double fInt = 0.0; in ParseDouble() local
740 fInt = GetVal( c ); in ParseDouble()
759 fInt = GetVal( c ); in ParseDouble()
776 fInt *= 10.0; in ParseDouble()
777 fInt += double( GetVal( c ) ); in ParseDouble()
855 fInt += fFrac; in ParseDouble()
856 sal_Int32 nLog10 = sal_Int32( log10( fInt ) ); in ParseDouble()
864 fInt = ::rtl::math::pow10Exp( fInt, nExp ); in ParseDouble()
867 fInt = -fInt; in ParseDouble()
869 rRet = fInt; in ParseDouble()
H A Danalysis.cxx728 double fInt = (*p >= 0.0) ? rtl::math::approxFloor( *p ) : rtl::math::approxCeil( *p ); in getMultinomial() local
729 if ( fInt < 0.0 || fInt > 170.0 ) in getMultinomial()
731 sal_Int32 n = static_cast< sal_Int32 >( fInt ); in getMultinomial()
/trunk/main/sc/source/core/tool/
H A Drangeseq.cxx62 double fInt = (fVal >= 0.0) ? ::rtl::math::approxFloor( fVal ) : in lcl_DoubleToLong() local
64 if ( fInt >= LONG_MIN && fInt <= LONG_MAX ) in lcl_DoubleToLong()
65 return (long)fInt; in lcl_DoubleToLong()
H A Dinterpr4.cxx2383 double fInt = (fVal >= 0.0) ? ::rtl::math::approxFloor( fVal ) : in ScExternal() local
2385 if ( fInt >= LONG_MIN && fInt <= LONG_MAX ) in ScExternal()
2386 aParam <<= (sal_Int32)fInt; in ScExternal()
2408 double fInt = (fVal >= 0.0) ? ::rtl::math::approxFloor( fVal ) : in ScExternal() local
2410 if ( fInt >= LONG_MIN && fInt <= LONG_MAX ) in ScExternal()
2412 sal_Int32 nIntVal = (long)fInt; in ScExternal()
H A Dinterpr2.cxx2285 double fInt = ::rtl::math::approxFloor( fVal / fBase ); in ScBase() local
2286 double fMult = fInt * fBase; in ScBase()
2298 double fDebug3 = ( fInt ? fVal / fInt : 0.0 ); in ScBase()
2328 fVal = fInt; in ScBase()

Completed in 166 milliseconds