Home
last modified time | relevance | path

Searched refs:nExp (Results 1 – 13 of 13) sorted by relevance

/aoo4110/main/sal/rtl/source/
H A Dmath.cxx57 if ( nExp < 0 ) in getN10Exp()
64 else if ( nExp > 0 ) in getN10Exp()
352 int nExp = 0; in doubleToString() local
390 if ( nExp < -4 || nExp >= nDecPlaces ) in doubleToString()
417 nExp++; in doubleToString()
447 if( nExp < 0 ) in doubleToString()
622 nExp = -nExp; in doubleToString()
630 nExp %= 100; in doubleToString()
844 nExp = nExp * 10 + i; in stringToDouble()
849 nExp = -nExp; in stringToDouble()
[all …]
/aoo4110/main/basic/source/sbx/
H A Dsbxscan.cxx286 short nExp = 0; // Exponent in myftoa() local
298 nExp = 0; in myftoa()
305 nDig = nDig + nExp; in myftoa()
307 nDig = nExp + 1; in myftoa()
313 ++nExp; in myftoa()
320 if( nExp < 0 ) in myftoa()
325 i = -nExp - 1; in myftoa()
331 nDec = nExp+1; in myftoa()
366 *pBuf++ =( nExp < 0 ) ?( (nExp = -nExp ), '-' ) : '+'; in myftoa()
371 nExp %= 100; in myftoa()
[all …]
/aoo4110/main/sc/source/filter/dif/
H A Ddifimp.cxx659 sal_Int32 nExp = 0; in ScanFloatVal() local
756 if( nExp < nExpLimit ) in ScanFloatVal()
758 nExp *= 10; in ScanFloatVal()
759 nExp += ( sal_uInt16 ) ( cAkt - '0' ); in ScanFloatVal()
780 if( nExp < ( 0xFFFF / 10 ) ) in ScanFloatVal()
782 nExp *= 10; in ScanFloatVal()
783 nExp += ( sal_uInt16 ) ( cAkt - '0' ); in ScanFloatVal()
822 nExp *= -1; in ScanFloatVal()
824 if( nExp != 0 ) in ScanFloatVal()
825 fNewVal *= pow( 10.0, ( double ) nExp ); in ScanFloatVal()
/aoo4110/main/sc/source/filter/ftools/
H A Dftools.cxx104 register sal_Int32 nExp;
105 nExp = pDouble10[ 9 ] & 0x7F;
106 nExp <<= 8;
107 nExp += pDouble10[ 8 ];
108 nExp -= 16446;
110 lfDouble *= pow( 2.0, static_cast< double >( nExp ) );
/aoo4110/main/sc/source/ui/Accessibility/
H A DAccessibleCsvControl.cxx309 sal_Int32 nExp = 1; in lcl_GetApiPos() local
310 while( nStart >= nExp ) in lcl_GetApiPos()
312 nApiPos += nStart - nExp + 1; in lcl_GetApiPos()
313 nExp *= 10; in lcl_GetApiPos()
322 sal_Int32 nExp = 10; in lcl_GetRulerPos() local
329 nRulerPos = nExp; in lcl_GetRulerPos()
330 nExp *= 10; in lcl_GetRulerPos()
332 nApiLimit = lcl_GetApiPos( nExp ); in lcl_GetRulerPos()
341 DBG_ASSERT( nExp > 0, "lcl_ExpandSequence - invalid value" ); in lcl_ExpandSequence()
342 rSeq.realloc( rSeq.getLength() + nExp ); in lcl_ExpandSequence()
[all …]
/aoo4110/main/sw/source/core/bastyp/
H A Dcalc.cxx1287 int nExp = 0; in Term() local
1290 while( fNum < 1.0 ) fNum *= 10.0, --nExp; in Term()
1291 while( fNum >= 10.0 ) fNum /= 10.0, ++nExp; in Term()
1293 nExp = 15 - nExp; in Term()
1294 if( nExp > 15 ) in Term()
1295 nExp = 15; in Term()
1296 else if( nExp <= 1 ) in Term()
1297 nExp = 0; in Term()
1298 fVal = floor( fVal+ 0.5 + nRoundVal[ nExp ] ); in Term()
/aoo4110/main/scaddins/source/analysis/
H A Danalysishelper.cxx718 sal_Int32 nExp = 0; in ParseDouble() local
791 nExp++; // just multiply num with 10... ;-) in ParseDouble()
823 nExp = GetVal( c ); in ParseDouble()
837 nExp *= 10; in ParseDouble()
838 nExp += GetVal( c ); in ParseDouble()
839 if( nExp > nMaxExp ) in ParseDouble()
859 nExp = -nExp; in ParseDouble()
861 if( nLog10 + nExp > nMaxExp ) in ParseDouble()
864 fInt = ::rtl::math::pow10Exp( fInt, nExp ); in ParseDouble()
/aoo4110/main/sal/inc/rtl/
H A Dmath.hxx184 inline double pow10Exp(double fValue, int nExp) in pow10Exp() argument
186 return rtl_math_pow10Exp(fValue, nExp); in pow10Exp()
H A Dmath.h397 double SAL_CALL rtl_math_pow10Exp(double fValue, int nExp) SAL_THROW_EXTERN_C();
/aoo4110/main/xmloff/source/style/
H A Dxmlnumfe.cxx657 sal_Bool bGrouping, sal_Int32 nExp ) in WriteScientificElement_Impl() argument
682 if ( nExp >= 0 ) in WriteScientificElement_Impl()
685 OUString::valueOf( nExp ) ); in WriteScientificElement_Impl()
/aoo4110/main/xmloff/inc/xmloff/
H A Dxmlnumfe.hxx72 sal_Bool bGrouping, sal_Int32 nExp );
/aoo4110/main/svl/source/numbers/
H A Dzformat.cxx2522 sal_Int32 nExp = ExpStr.ToInt32() * nExpSign; in GetOutputString() local
2523 nExp -= sal_Int32(rInfo.nCntPre)-1; in GetOutputString()
2524 if ( nExp < 0 ) in GetOutputString()
2527 nExp = -nExp; in GetOutputString()
2531 ExpStr = String::CreateFromInt32( nExp ); in GetOutputString()
H A Dzforfind.cxx193 int nExp = 0; in StringToDouble() local
207 --nExp; in StringToDouble()
212 return fNum + ::rtl::math::pow10Exp( fFrac, nExp ); in StringToDouble()

Completed in 164 milliseconds