Lines Matching refs:DecimalQuantity
75 DecimalQuantity::DecimalQuantity() { in DecimalQuantity() function in DecimalQuantity
80 DecimalQuantity::~DecimalQuantity() { in ~DecimalQuantity()
88 DecimalQuantity::DecimalQuantity(const DecimalQuantity &other) { in DecimalQuantity() function in DecimalQuantity
92 DecimalQuantity::DecimalQuantity(DecimalQuantity&& src) U_NOEXCEPT { in DecimalQuantity() function in DecimalQuantity
96 DecimalQuantity &DecimalQuantity::operator=(const DecimalQuantity &other) { in operator =()
105 DecimalQuantity& DecimalQuantity::operator=(DecimalQuantity&& src) U_NOEXCEPT { in operator =()
114 void DecimalQuantity::copyFieldsFrom(const DecimalQuantity& other) { in copyFieldsFrom()
127 void DecimalQuantity::clear() { in clear()
134 void DecimalQuantity::setMinInteger(int32_t minInt) { in setMinInteger()
148 void DecimalQuantity::setMinFraction(int32_t minFrac) { in setMinFraction()
157 void DecimalQuantity::applyMaxInteger(int32_t maxInt) { in applyMaxInteger()
177 uint64_t DecimalQuantity::getPositionFingerprint() const { in getPositionFingerprint()
184 void DecimalQuantity::roundToIncrement(double roundingIncrement, RoundingMode roundingMode, in roundToIncrement()
209 void DecimalQuantity::multiplyBy(const DecNum& multiplicand, UErrorCode& status) { in multiplyBy()
222 void DecimalQuantity::divideBy(const DecNum& divisor, UErrorCode& status) { in divideBy()
235 void DecimalQuantity::negate() { in negate()
239 int32_t DecimalQuantity::getMagnitude() const { in getMagnitude()
244 bool DecimalQuantity::adjustMagnitude(int32_t delta) { in adjustMagnitude()
257 double DecimalQuantity::getPluralOperand(PluralOperand operand) const { in getPluralOperand()
281 int32_t DecimalQuantity::getExponent() const { in getExponent()
285 void DecimalQuantity::adjustExponent(int delta) { in adjustExponent()
289 bool DecimalQuantity::hasIntegerValue() const { in hasIntegerValue()
293 int32_t DecimalQuantity::getUpperDisplayMagnitude() const { in getUpperDisplayMagnitude()
303 int32_t DecimalQuantity::getLowerDisplayMagnitude() const { in getLowerDisplayMagnitude()
313 int8_t DecimalQuantity::getDigit(int32_t magnitude) const { in getDigit()
321 int32_t DecimalQuantity::fractionCount() const { in fractionCount()
326 int32_t DecimalQuantity::fractionCountWithoutTrailingZeros() const { in fractionCountWithoutTrailingZeros()
331 bool DecimalQuantity::isNegative() const { in isNegative()
335 Signum DecimalQuantity::signum() const { in signum()
349 bool DecimalQuantity::isInfinite() const { in isInfinite()
353 bool DecimalQuantity::isNaN() const { in isNaN()
357 bool DecimalQuantity::isZeroish() const { in isZeroish()
361 DecimalQuantity &DecimalQuantity::setToInt(int32_t n) { in setToInt()
378 void DecimalQuantity::_setToInt(int32_t n) { in _setToInt()
386 DecimalQuantity &DecimalQuantity::setToLong(int64_t n) { in setToLong()
400 void DecimalQuantity::_setToLong(int64_t n) { in _setToLong()
415 DecimalQuantity &DecimalQuantity::setToDouble(double n) { in setToDouble()
434 void DecimalQuantity::_setToDoubleFast(double n) { in _setToDoubleFast()
483 void DecimalQuantity::convertToAccurateDouble() { in convertToAccurateDouble()
509 DecimalQuantity &DecimalQuantity::setToDecNumber(StringPiece n, UErrorCode& status) { in setToDecNumber()
521 DecimalQuantity& DecimalQuantity::setToDecNum(const DecNum& decnum, UErrorCode& status) { in setToDecNum()
529 void DecimalQuantity::_setToDecNum(const DecNum& decnum, UErrorCode& status) { in _setToDecNum()
540 int64_t DecimalQuantity::toLong(bool truncateIfOverflow) const { in toLong()
558 uint64_t DecimalQuantity::toFractionLong(bool includeTrailingZeros) const { in toFractionLong()
577 bool DecimalQuantity::fitsInLong(bool ignoreFraction) const { in fitsInLong()
609 double DecimalQuantity::toDouble() const { in toDouble()
630 DecNum& DecimalQuantity::toDecNum(DecNum& output, UErrorCode& status) const { in toDecNum()
649 void DecimalQuantity::truncate() { in truncate()
657 void DecimalQuantity::roundToNickel(int32_t magnitude, RoundingMode roundingMode, UErrorCode& statu… in roundToNickel()
661 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, UErrorCode& st… in roundToMagnitude()
665 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, bool nickel, U… in roundToMagnitude()
863 void DecimalQuantity::roundToInfinity() { in roundToInfinity()
869 void DecimalQuantity::appendDigit(int8_t value, int32_t leadingZeros, bool appendAsInteger) { in appendDigit()
899 UnicodeString DecimalQuantity::toPlainString() const { in toPlainString()
933 UnicodeString DecimalQuantity::toScientificString() const { in toScientificString()
981 int8_t DecimalQuantity::getDigitPos(int32_t position) const { in getDigitPos()
991 void DecimalQuantity::setDigitPos(int32_t position, int8_t value) { in setDigitPos()
1006 void DecimalQuantity::shiftLeft(int32_t numDigits) { in shiftLeft()
1021 void DecimalQuantity::shiftRight(int32_t numDigits) { in shiftRight()
1037 void DecimalQuantity::popFromLeft(int32_t numDigits) { in popFromLeft()
1050 void DecimalQuantity::setBcdToZero() { in setBcdToZero()
1065 void DecimalQuantity::readIntToBcd(int32_t n) { in readIntToBcd()
1079 void DecimalQuantity::readLongToBcd(int64_t n) { in readLongToBcd()
1104 void DecimalQuantity::readDecNumberToBcd(const DecNum& decnum) { in readDecNumberToBcd()
1122 void DecimalQuantity::readDoubleConversionToBcd( in readDoubleConversionToBcd()
1142 void DecimalQuantity::compact() { in compact()
1186 void DecimalQuantity::ensureCapacity() { in ensureCapacity()
1190 void DecimalQuantity::ensureCapacity(int32_t capacity) { in ensureCapacity()
1213 void DecimalQuantity::switchStorage() { in switchStorage()
1238 void DecimalQuantity::copyBcdFrom(const DecimalQuantity &other) { in copyBcdFrom()
1248 void DecimalQuantity::moveBcdFrom(DecimalQuantity &other) { in moveBcdFrom()
1262 const char16_t* DecimalQuantity::checkHealth() const { in checkHealth()
1300 bool DecimalQuantity::operator==(const DecimalQuantity& other) const { in operator ==()
1326 UnicodeString DecimalQuantity::toString() const { in toString()