• Home
  • Raw
  • Download

Lines Matching full:precision

78 Precision Precision::unlimited() {  in unlimited()
79 return Precision(RND_NONE, {}, kDefaultMode); in unlimited()
82 FractionPrecision Precision::integer() { in integer()
86 FractionPrecision Precision::fixedFraction(int32_t minMaxFractionPlaces) { in fixedFraction()
94 FractionPrecision Precision::minFraction(int32_t minFractionPlaces) { in minFraction()
102 FractionPrecision Precision::maxFraction(int32_t maxFractionPlaces) { in maxFraction()
110 FractionPrecision Precision::minMaxFraction(int32_t minFractionPlaces, int32_t maxFractionPlaces) { in minMaxFraction()
119 Precision Precision::fixedSignificantDigits(int32_t minMaxSignificantDigits) { in fixedSignificantDigits()
127 Precision Precision::minSignificantDigits(int32_t minSignificantDigits) { in minSignificantDigits()
135 Precision Precision::maxSignificantDigits(int32_t maxSignificantDigits) { in maxSignificantDigits()
143 Precision Precision::minMaxSignificantDigits(int32_t minSignificantDigits, int32_t maxSignificantDi… in minMaxSignificantDigits()
152 IncrementPrecision Precision::increment(double roundingIncrement) { in increment()
160 CurrencyPrecision Precision::currency(UCurrencyUsage currencyUsage) { in currency()
164 Precision Precision::withMode(RoundingMode roundingMode) const { in withMode()
166 Precision retval = *this; in withMode()
171 Precision FractionPrecision::withMinDigits(int32_t minSignificantDigits) const { in withMinDigits()
180 Precision FractionPrecision::withMaxDigits(int32_t maxSignificantDigits) const { in withMaxDigits()
190 Precision Precision::withCurrency(const CurrencyUnit &currency, UErrorCode &status) const { in withCurrency()
205 Precision CurrencyPrecision::withCurrency(const CurrencyUnit &currency) const { in withCurrency()
207 Precision result = Precision::withCurrency(currency, localStatus); in withCurrency()
214 Precision IncrementPrecision::withMinFraction(int32_t minFrac) const { in withMinFraction()
223 FractionPrecision Precision::constructFraction(int32_t minFrac, int32_t maxFrac) { in constructFraction()
234 Precision Precision::constructSignificant(int32_t minSig, int32_t maxSig) { in constructSignificant()
245 Precision
246 Precision::constructFractionSignificant(const FractionPrecision &base, int32_t minSig, int32_t maxS… in constructFractionSignificant()
255 IncrementPrecision Precision::constructIncrement(double increment, int32_t minFrac) { in constructIncrement()
267 CurrencyPrecision Precision::constructCurrency(UCurrencyUsage usage) { in constructCurrency()
274 RoundingImpl::RoundingImpl(const Precision& precision, UNumberFormatRoundingMode roundingMode, in RoundingImpl() argument
276 : fPrecision(precision), fRoundingMode(roundingMode), fPassThrough(false) { in RoundingImpl()
277 if (precision.fType == Precision::RND_CURRENCY) { in RoundingImpl()
278 fPrecision = precision.withCurrency(currency, status); in RoundingImpl()
289 return fPrecision.fType == Precision::RND_SIGNIFICANT; in isSignificantDigits()
336 case Precision::RND_BOGUS: in apply()
337 case Precision::RND_ERROR: in apply()
342 case Precision::RND_NONE: in apply()
346 case Precision::RND_FRACTION: in apply()
356 case Precision::RND_SIGNIFICANT: in apply()
370 case Precision::RND_FRACTION_SIGNIFICANT: { in apply()
391 case Precision::RND_INCREMENT: in apply()
400 case Precision::RND_CURRENCY: in apply()