Home
last modified time | relevance | path

Searched refs:fMantissa (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/i18n/
Dvisibledigits.h133 const VisibleDigits &getMantissa() const { return fMantissa; } in getMantissa()
138 fMantissa.clear(); in clear()
142 UBool isNegative() const { return fMantissa.isNegative(); } in isNegative()
143 UBool isNaN() const { return fMantissa.isNaN(); } in isNaN()
144 UBool isInfinite() const { return fMantissa.isInfinite(); } in isInfinite()
149 VisibleDigits fMantissa; variable
Dprecision.cpp338 initVisibleDigits(value, digits.fMantissa, status); in initVisibleDigitsWithExponent()
348 initVisibleDigits(value, digits.fMantissa, status); in initVisibleDigitsWithExponent()
358 initVisibleDigits(value, digits.fMantissa, status); in initVisibleDigitsWithExponent()
371 fMantissa.fMin.getIntDigitCount(), getMultiplier()); in round()
372 return fMantissa.round(value, exponent, status); in round()
378 fMantissa.fMin.getIntDigitCount(), getMultiplier()); in toScientific()
383 int32_t maxIntDigitCount = fMantissa.fMax.getIntDigitCount(); in getMultiplier()
388 maxIntDigitCount - fMantissa.fMin.getIntDigitCount() + 1; in getMultiplier()
401 if (FixedPrecision::handleNonNumeric(value, digits.fMantissa)) { in initVisibleDigitsWithExponent()
404 value.setRoundingMode(fMantissa.fRoundingMode); in initVisibleDigitsWithExponent()
[all …]
Ddecimfmtimpl.cpp216 fFormatter, fEffGrouping, fEffPrecision.fMantissa, fOptions.fMantissa); in prepareValueFormatter()
536 fEffPrecision.fMantissa.initVisibleDigits(number, digits, status); in getFixedDecimal()
547 fEffPrecision.fMantissa.initVisibleDigits(number, digits, status); in getFixedDecimal()
564 fEffPrecision.fMantissa.initVisibleDigitsWithExponent( in initVisibleDigitsWithExponent()
583 fEffPrecision.fMantissa.initVisibleDigitsWithExponent( in initVisibleDigitsWithExponent()
607 fEffPrecision.fMantissa.initVisibleDigitsWithExponent( in initVisibleDigitsFromAdjusted()
687 fEffPrecision.fMantissa.fRoundingIncrement.set(d); in setRoundingIncrement()
689 fEffPrecision.fMantissa.fRoundingIncrement.set(0.0); in setRoundingIncrement()
695 return fEffPrecision.fMantissa.fRoundingIncrement.getDouble(); in getRoundingIncrement()
852 fOptions.fMantissa.fAlwaysShowDecimal = out.fDecimalSeparatorAlwaysShown; in applyPattern()
[all …]
Dprecision.h244 FixedPrecision fMantissa;
271 return fMantissa.equals(rhs.fMantissa) && fMinExponentDigits == rhs.fMinExponentDigits; in equals()
Ddigitformatter.h96 return (fMantissa.equals(rhs.fMantissa) && in equals()
103 DigitFormatterOptions fMantissa; variable
Ddecimfmtimpl.h243 fEffPrecision.fMantissa.fExactOnly = (fRoundingMode == DecimalFormat::kRoundUnnecessary); in setRoundingMode()
244 fEffPrecision.fMantissa.fRoundingMode = mode; in setRoundingMode()
250 fEffPrecision.fMantissa.fFailIfOverMax = b; in setFailIfMoreThanMaxDigits()
252 UBool isFailIfMoreThanMaxDigits() const { return fEffPrecision.fMantissa.fFailIfOverMax; } in isFailIfMoreThanMaxDigits()
308 return fOptions.fMantissa.fAlwaysShowDecimal; in isDecimalSeparatorAlwaysShown()
311 fOptions.fMantissa.fAlwaysShowDecimal = x; in setDecimalSeparatorAlwaysShown()
Ddigitformatter.cpp141 options.fMantissa); in countChar32()
154 grouping, mantissaInterval, options.fMantissa); in countChar32()
249 options.fMantissa, in format()
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp1080 precision.fMantissa.fMin.setIntDigitCount(4); in TestSciFormatter()
1081 precision.fMantissa.fMax.setIntDigitCount(4); in TestSciFormatter()
1082 precision.fMantissa.fMin.setFracDigitCount(0); in TestSciFormatter()
1083 precision.fMantissa.fMax.setFracDigitCount(0); in TestSciFormatter()
1110 options.fMantissa.fAlwaysShowDecimal = TRUE; in TestSciFormatter()
2143 precision.fMantissa.fMin.setIntDigitCount(1); in TestVisibleDigitsWithExponent()
2144 precision.fMantissa.fMax.setIntDigitCount(3); in TestVisibleDigitsWithExponent()
2153 precision.fMantissa.fRoundingIncrement.set(0.073); in TestVisibleDigitsWithExponent()
2154 precision.fMantissa.fMin.setIntDigitCount(2); in TestVisibleDigitsWithExponent()
2155 precision.fMantissa.fMax.setIntDigitCount(2); in TestVisibleDigitsWithExponent()
[all …]