| /AOO42X/main/sal/rtl/source/ |
| H A D | math.cxx | 55 static double getN10Exp( int nExp ) in getN10Exp() argument 57 if ( nExp < 0 ) in getN10Exp() 59 if ( -nExp <= n10Count ) in getN10Exp() 60 return n10s[1][-nExp-1]; in getN10Exp() 62 return pow( 10.0, static_cast<double>( nExp ) ); in getN10Exp() 64 else if ( nExp > 0 ) in getN10Exp() 66 if ( nExp <= n10Count ) in getN10Exp() 67 return n10s[0][nExp-1]; in getN10Exp() 69 return pow( 10.0, static_cast<double>( nExp ) ); in getN10Exp() 352 int nExp = 0; in doubleToString() local [all …]
|
| /AOO42X/main/basic/source/sbx/ |
| H A D | sbxscan.cxx | 284 short nExp = 0; // Exponent in myftoa() local 296 nExp = 0; in myftoa() 299 while( nNum < 1.0 ) nNum *= 10.0, nExp--; in myftoa() 300 while( nNum >= 10.0 ) nNum /= 10.0, nExp++; in myftoa() 303 nDig = nDig + nExp; in myftoa() 305 nDig = nExp + 1; in myftoa() 311 ++nExp; in myftoa() 318 if( nExp < 0 ) in myftoa() 323 i = -nExp - 1; in myftoa() 329 nDec = nExp+1; in myftoa() [all …]
|
| /AOO42X/main/sc/source/filter/dif/ |
| H A D | difimp.cxx | 659 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()
|
| /AOO42X/main/sc/source/filter/ftools/ |
| H A D | ftools.cxx | 104 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 ) );
|
| /AOO42X/main/sc/source/ui/Accessibility/ |
| H A D | AccessibleCsvControl.cxx | 309 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() 339 inline sal_Int32 lcl_ExpandSequence( Sequence< PropertyValue >& rSeq, sal_Int32 nExp ) in lcl_ExpandSequence() argument 341 DBG_ASSERT( nExp > 0, "lcl_ExpandSequence - invalid value" ); in lcl_ExpandSequence() [all …]
|
| /AOO42X/main/sw/source/core/bastyp/ |
| H A D | calc.cxx | 1287 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()
|
| /AOO42X/main/scaddins/source/analysis/ |
| H A D | analysishelper.cxx | 718 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()
|
| /AOO42X/main/sal/inc/rtl/ |
| H A D | math.hxx | 184 inline double pow10Exp(double fValue, int nExp) in pow10Exp() argument 186 return rtl_math_pow10Exp(fValue, nExp); in pow10Exp()
|
| H A D | math.h | 397 double SAL_CALL rtl_math_pow10Exp(double fValue, int nExp) SAL_THROW_EXTERN_C();
|
| /AOO42X/main/xmloff/source/style/ |
| H A D | xmlnumfe.cxx | 657 sal_Bool bGrouping, sal_Int32 nExp ) in WriteScientificElement_Impl() argument 682 if ( nExp >= 0 ) in WriteScientificElement_Impl() 685 OUString::valueOf( nExp ) ); in WriteScientificElement_Impl()
|
| /AOO42X/main/svl/source/numbers/ |
| H A D | zformat.cxx | 2522 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 D | zforfind.cxx | 193 int nExp = 0; in StringToDouble() local 207 --nExp; in StringToDouble() 212 return fNum + ::rtl::math::pow10Exp( fFrac, nExp ); in StringToDouble()
|
| /AOO42X/main/xmloff/inc/xmloff/ |
| H A D | xmlnumfe.hxx | 72 sal_Bool bGrouping, sal_Int32 nExp );
|