Home
last modified time | relevance | path

Searched refs:fRoundingMode (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
Dprecision.h78 DecimalFormat::ERoundingMode fRoundingMode; variable
92 fRoundingMode == rhs.fRoundingMode); in equals()
Ddecimfmtimpl.h244 fRoundingMode = mode; in setRoundingMode()
245 fEffPrecision.fMantissa.fExactOnly = (fRoundingMode == DecimalFormat::kRoundUnnecessary); in setRoundingMode()
246 fEffPrecision.fMantissa.fRoundingMode = mode; in setRoundingMode()
249 return fRoundingMode; in getRoundingMode()
357 DecimalFormat::ERoundingMode fRoundingMode; variable
Dnumber_rounding.cpp293 getRoundingMagnitudeFraction(fUnion.fracSig.fMaxFrac), fRoundingMode, status); in apply()
301 fRoundingMode, in apply()
320 value.roundToMagnitude(roundingMag, fRoundingMode, status); in apply()
327 fUnion.increment.fIncrement, fRoundingMode, fUnion.increment.fMinFrac, status); in apply()
Ddecimfmtimpl.cpp54 fRoundingMode(DecimalFormat::kRoundHalfEven), in DecimalFormatImpl()
81 fRoundingMode(DecimalFormat::kRoundHalfEven), in DecimalFormatImpl()
95 fRoundingMode(other.fRoundingMode), in DecimalFormatImpl()
137 fRoundingMode = other.fRoundingMode; in assign()
180 && (fRoundingMode == other.fRoundingMode) in operator ==()
465 number.setRoundingMode(fRoundingMode); in adjustDigitList()
Dprecision.cpp27 : fExactOnly(FALSE), fFailIfOverMax(FALSE), fRoundingMode(DecimalFormat::kRoundHalfEven) { in FixedPrecision()
166 value.setRoundingMode(fRoundingMode); in initVisibleDigits()
406 value.setRoundingMode(fMantissa.fRoundingMode); in initVisibleDigitsWithExponent()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h805 UNumberFormatRoundingMode fRoundingMode; variable
808 : fType(type), fUnion(union_), fRoundingMode(roundingMode) {} in Rounder()
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp1883 precision.fRoundingMode = DecimalFormat::kRoundFloor; in TestIntInitVisibleDigitsToDigitList()
1894 precision.fRoundingMode = DecimalFormat::kRoundCeiling; in TestIntInitVisibleDigitsToDigitList()
1905 precision.fRoundingMode = DecimalFormat::kRoundFloor; in TestIntInitVisibleDigitsToDigitList()