• Home
  • Raw
  • Download

Lines Matching refs:fPrecision

326         : fPrecision(precision), fRoundingMode(roundingMode), fPassThrough(false) {  in RoundingImpl()
328 fPrecision = precision.withCurrency(currency, status); in RoundingImpl()
337 return fPrecision.fType == Precision::RND_SIGNIFICANT; in isSignificantDigits()
386 switch (fPrecision.fType) { in apply()
399 getRoundingMagnitudeFraction(fPrecision.fUnion.fracSig.fMaxFrac), in apply()
403 uprv_max(0, -getDisplayMagnitudeFraction(fPrecision.fUnion.fracSig.fMinFrac))); in apply()
408 getRoundingMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMaxSig), in apply()
412 … uprv_max(0, -getDisplayMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMinSig))); in apply()
414 if (value.isZeroish() && fPrecision.fUnion.fracSig.fMinSig > 0) { in apply()
420 int32_t displayMag = getDisplayMagnitudeFraction(fPrecision.fUnion.fracSig.fMinFrac); in apply()
421 int32_t roundingMag = getRoundingMagnitudeFraction(fPrecision.fUnion.fracSig.fMaxFrac); in apply()
422 if (fPrecision.fUnion.fracSig.fMinSig == -1) { in apply()
426 fPrecision.fUnion.fracSig.fMaxSig); in apply()
432 fPrecision.fUnion.fracSig.fMinSig); in apply()
442 fPrecision.fUnion.increment.fIncrement, in apply()
445 value.setMinFraction(fPrecision.fUnion.increment.fMinFrac); in apply()
450 -fPrecision.fUnion.increment.fMaxFrac, in apply()
453 value.setMinFraction(fPrecision.fUnion.increment.fMinFrac); in apply()
458 -fPrecision.fUnion.increment.fMaxFrac, in apply()
461 value.setMinFraction(fPrecision.fUnion.increment.fMinFrac); in apply()
477 value.setMinFraction(fPrecision.fUnion.fracSig.fMinSig - minInt); in apply()