Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dvisibledigits.h135 const VisibleDigits &getMantissa() const { return fMantissa; } in getMantissa()
140 fMantissa.clear(); in clear()
144 UBool isNegative() const { return fMantissa.isNegative(); } in isNegative()
145 UBool isNaN() const { return fMantissa.isNaN(); } in isNaN()
146 UBool isInfinite() const { return fMantissa.isInfinite(); } in isInfinite()
151 VisibleDigits fMantissa; variable
Dprecision.cpp340 initVisibleDigits(value, digits.fMantissa, status); in initVisibleDigitsWithExponent()
350 initVisibleDigits(value, digits.fMantissa, status); in initVisibleDigitsWithExponent()
360 initVisibleDigits(value, digits.fMantissa, status); in initVisibleDigitsWithExponent()
373 fMantissa.fMin.getIntDigitCount(), getMultiplier()); in round()
374 return fMantissa.round(value, exponent, status); in round()
380 fMantissa.fMin.getIntDigitCount(), getMultiplier()); in toScientific()
385 int32_t maxIntDigitCount = fMantissa.fMax.getIntDigitCount(); in getMultiplier()
390 maxIntDigitCount - fMantissa.fMin.getIntDigitCount() + 1; in getMultiplier()
403 if (FixedPrecision::handleNonNumeric(value, digits.fMantissa)) { in initVisibleDigitsWithExponent()
406 value.setRoundingMode(fMantissa.fRoundingMode); in initVisibleDigitsWithExponent()
[all …]
Ddecimfmtimpl.cpp218 fFormatter, fEffGrouping, fEffPrecision.fMantissa, fOptions.fMantissa); in prepareValueFormatter()
539 fEffPrecision.fMantissa.initVisibleDigits(number, digits, status); in getFixedDecimal()
550 fEffPrecision.fMantissa.initVisibleDigits(number, digits, status); in getFixedDecimal()
567 fEffPrecision.fMantissa.initVisibleDigitsWithExponent( in initVisibleDigitsWithExponent()
586 fEffPrecision.fMantissa.initVisibleDigitsWithExponent( in initVisibleDigitsWithExponent()
610 fEffPrecision.fMantissa.initVisibleDigitsWithExponent( in initVisibleDigitsFromAdjusted()
690 fEffPrecision.fMantissa.fRoundingIncrement.set(d); in setRoundingIncrement()
692 fEffPrecision.fMantissa.fRoundingIncrement.set(0.0); in setRoundingIncrement()
698 return fEffPrecision.fMantissa.fRoundingIncrement.getDouble(); in getRoundingIncrement()
855 fOptions.fMantissa.fAlwaysShowDecimal = out.fDecimalSeparatorAlwaysShown; in applyPattern()
[all …]
Dprecision.h246 FixedPrecision fMantissa;
273 return fMantissa.equals(rhs.fMantissa) && fMinExponentDigits == rhs.fMinExponentDigits; in equals()
Ddecimfmtimpl.h245 fEffPrecision.fMantissa.fExactOnly = (fRoundingMode == DecimalFormat::kRoundUnnecessary); in setRoundingMode()
246 fEffPrecision.fMantissa.fRoundingMode = mode; in setRoundingMode()
252 fEffPrecision.fMantissa.fFailIfOverMax = b; in setFailIfMoreThanMaxDigits()
254 UBool isFailIfMoreThanMaxDigits() const { return fEffPrecision.fMantissa.fFailIfOverMax; } in isFailIfMoreThanMaxDigits()
310 return fOptions.fMantissa.fAlwaysShowDecimal; in isDecimalSeparatorAlwaysShown()
313 fOptions.fMantissa.fAlwaysShowDecimal = x; in setDecimalSeparatorAlwaysShown()
Ddigitformatter.h98 return (fMantissa.equals(rhs.fMantissa) && in equals()
105 DigitFormatterOptions fMantissa; variable
Ddigitformatter.cpp143 options.fMantissa); in countChar32()
156 grouping, mantissaInterval, options.fMantissa); in countChar32()
251 options.fMantissa, in format()
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp1082 precision.fMantissa.fMin.setIntDigitCount(4); in TestSciFormatter()
1083 precision.fMantissa.fMax.setIntDigitCount(4); in TestSciFormatter()
1084 precision.fMantissa.fMin.setFracDigitCount(0); in TestSciFormatter()
1085 precision.fMantissa.fMax.setFracDigitCount(0); in TestSciFormatter()
1112 options.fMantissa.fAlwaysShowDecimal = TRUE; in TestSciFormatter()
2145 precision.fMantissa.fMin.setIntDigitCount(1); in TestVisibleDigitsWithExponent()
2146 precision.fMantissa.fMax.setIntDigitCount(3); in TestVisibleDigitsWithExponent()
2155 precision.fMantissa.fRoundingIncrement.set(0.073); in TestVisibleDigitsWithExponent()
2156 precision.fMantissa.fMin.setIntDigitCount(2); in TestVisibleDigitsWithExponent()
2157 precision.fMantissa.fMax.setIntDigitCount(2); in TestVisibleDigitsWithExponent()
[all …]