Lines Matching refs:Precision
140 Precision precision; in oldToNew()
142 precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); in oldToNew()
144 precision = Precision::constructIncrement(roundingIncrement, minFrac); in oldToNew()
149 precision = Precision::constructSignificant(minSig, maxSig); in oldToNew()
151 precision = Precision::constructFraction(minFrac, maxFrac); in oldToNew()
153 precision = Precision::constructCurrency(currencyUsage); in oldToNew()
226 if (macros.precision.fType == Precision::PrecisionType::RND_FRACTION) { in oldToNew()
235 macros.precision = Precision::unlimited().withMode(roundingMode); in oldToNew()
238 … macros.precision = Precision::constructSignificant(1, maxFrac_ + 1).withMode(roundingMode); in oldToNew()
248 … macros.precision = Precision::constructSignificant(minSig_, maxSig_).withMode(roundingMode); in oldToNew()
284 Precision rounding_; in oldToNew()
285 if (precision.fType == Precision::PrecisionType::RND_CURRENCY) { in oldToNew()
295 if (rounding_.fType == Precision::PrecisionType::RND_FRACTION) { in oldToNew()
298 } else if (rounding_.fType == Precision::PrecisionType::RND_INCREMENT) { in oldToNew()
302 } else if (rounding_.fType == Precision::PrecisionType::RND_SIGNIFICANT) { in oldToNew()