Lines Matching refs:nDecPlaces

299                            sal_Int32 nDecPlaces, typename T::Char cDecSeparator,  in doubleToString()  argument
382 if ( nDecPlaces == rtl_math_DecimalPlaces_Max ) in doubleToString()
383 nDecPlaces = nPrec; in doubleToString()
388 if ( nDecPlaces == rtl_math_DecimalPlaces_DefaultSignificance ) in doubleToString()
389 nDecPlaces = 6; in doubleToString()
390 if ( nExp < -4 || nExp >= nDecPlaces ) in doubleToString()
392 nDecPlaces = std::max< sal_Int32 >( 1, nDecPlaces - 1 ); in doubleToString()
397 nDecPlaces = std::max< sal_Int32 >( 0, nDecPlaces - nExp - 1 ); in doubleToString()
406 sal_Int32 nDigits = nDecPlaces + 1; in doubleToString()
427 ( nDigits <= 0 ? std::max< sal_Int32 >( nDecPlaces, abs(nExp) ) in doubleToString()
428 : nDigits + nDecPlaces ) + 10 + (pGroups ? abs(nDigits) * 2 : 0); in doubleToString()
450 if ( nDecPlaces > 0 ) in doubleToString()
455 sal_Int32 i = ( nDigits <= 0 ? nDecPlaces : -nExp - 1 ); in doubleToString()
653 sal_Int32 nDecPlaces, in rtl_math_doubleToString() argument
661 pResult, pResultCapacity, nResultOffset, fValue, eFormat, nDecPlaces, in rtl_math_doubleToString()
669 sal_Int32 nDecPlaces, in rtl_math_doubleToUString() argument
677 pResult, pResultCapacity, nResultOffset, fValue, eFormat, nDecPlaces, in rtl_math_doubleToUString()
953 double SAL_CALL rtl_math_round(double fValue, int nDecPlaces, in rtl_math_round() argument
957 OSL_ASSERT(nDecPlaces >= -20 && nDecPlaces <= 20); in rtl_math_round()
968 if ( nDecPlaces != 0 ) in rtl_math_round()
972 if ( nDecPlaces < -20 || 20 < nDecPlaces || fValue > (DBL_MAX / 1e20) ) in rtl_math_round()
975 fFac = getN10Exp( nDecPlaces ); in rtl_math_round()
1061 if ( nDecPlaces != 0 ) in rtl_math_round()