Lines Matching refs:DecimalQuantity
74 DecimalQuantity::DecimalQuantity() { in DecimalQuantity() function in DecimalQuantity
79 DecimalQuantity::~DecimalQuantity() { in ~DecimalQuantity()
87 DecimalQuantity::DecimalQuantity(const DecimalQuantity &other) { in DecimalQuantity() function in DecimalQuantity
91 DecimalQuantity::DecimalQuantity(DecimalQuantity&& src) U_NOEXCEPT { in DecimalQuantity() function in DecimalQuantity
95 DecimalQuantity &DecimalQuantity::operator=(const DecimalQuantity &other) { in operator =()
104 DecimalQuantity& DecimalQuantity::operator=(DecimalQuantity&& src) U_NOEXCEPT { in operator =()
113 void DecimalQuantity::copyFieldsFrom(const DecimalQuantity& other) { in copyFieldsFrom()
127 void DecimalQuantity::clear() { in clear()
136 void DecimalQuantity::setIntegerLength(int32_t minInt, int32_t maxInt) { in setIntegerLength()
153 void DecimalQuantity::setFractionLength(int32_t minFrac, int32_t maxFrac) { in setFractionLength()
164 uint64_t DecimalQuantity::getPositionFingerprint() const { in getPositionFingerprint()
173 void DecimalQuantity::roundToIncrement(double roundingIncrement, RoundingMode roundingMode, in roundToIncrement()
181 DecimalQuantity dq; in roundToIncrement()
193 void DecimalQuantity::multiplyBy(const DecNum& multiplicand, UErrorCode& status) { in multiplyBy()
206 void DecimalQuantity::divideBy(const DecNum& divisor, UErrorCode& status) { in divideBy()
219 void DecimalQuantity::negate() { in negate()
223 int32_t DecimalQuantity::getMagnitude() const { in getMagnitude()
228 bool DecimalQuantity::adjustMagnitude(int32_t delta) { in adjustMagnitude()
241 double DecimalQuantity::getPluralOperand(PluralOperand operand) const { in getPluralOperand()
263 bool DecimalQuantity::hasIntegerValue() const { in hasIntegerValue()
267 int32_t DecimalQuantity::getUpperDisplayMagnitude() const { in getUpperDisplayMagnitude()
277 int32_t DecimalQuantity::getLowerDisplayMagnitude() const { in getLowerDisplayMagnitude()
287 int8_t DecimalQuantity::getDigit(int32_t magnitude) const { in getDigit()
295 int32_t DecimalQuantity::fractionCount() const { in fractionCount()
299 int32_t DecimalQuantity::fractionCountWithoutTrailingZeros() const { in fractionCountWithoutTrailingZeros()
303 bool DecimalQuantity::isNegative() const { in isNegative()
307 int8_t DecimalQuantity::signum() const { in signum()
311 bool DecimalQuantity::isInfinite() const { in isInfinite()
315 bool DecimalQuantity::isNaN() const { in isNaN()
319 bool DecimalQuantity::isZero() const { in isZero()
323 DecimalQuantity &DecimalQuantity::setToInt(int32_t n) { in setToInt()
340 void DecimalQuantity::_setToInt(int32_t n) { in _setToInt()
348 DecimalQuantity &DecimalQuantity::setToLong(int64_t n) { in setToLong()
362 void DecimalQuantity::_setToLong(int64_t n) { in _setToLong()
377 DecimalQuantity &DecimalQuantity::setToDouble(double n) { in setToDouble()
396 void DecimalQuantity::_setToDoubleFast(double n) { in _setToDoubleFast()
442 void DecimalQuantity::convertToAccurateDouble() { in convertToAccurateDouble()
468 DecimalQuantity &DecimalQuantity::setToDecNumber(StringPiece n, UErrorCode& status) { in setToDecNumber()
480 DecimalQuantity& DecimalQuantity::setToDecNum(const DecNum& decnum, UErrorCode& status) { in setToDecNum()
488 void DecimalQuantity::_setToDecNum(const DecNum& decnum, UErrorCode& status) { in _setToDecNum()
499 int64_t DecimalQuantity::toLong(bool truncateIfOverflow) const { in toLong()
517 uint64_t DecimalQuantity::toFractionLong(bool includeTrailingZeros) const { in toFractionLong()
536 bool DecimalQuantity::fitsInLong(bool ignoreFraction) const { in fitsInLong()
565 double DecimalQuantity::toDouble() const { in toDouble()
586 void DecimalQuantity::toDecNum(DecNum& output, UErrorCode& status) const { in toDecNum()
601 void DecimalQuantity::truncate() { in truncate()
609 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, UErrorCode& st… in roundToMagnitude()
747 void DecimalQuantity::roundToInfinity() { in roundToInfinity()
753 void DecimalQuantity::appendDigit(int8_t value, int32_t leadingZeros, bool appendAsInteger) { in appendDigit()
783 UnicodeString DecimalQuantity::toPlainString() const { in toPlainString()
799 UnicodeString DecimalQuantity::toScientificString() const { in toScientificString()
849 int8_t DecimalQuantity::getDigitPos(int32_t position) const { in getDigitPos()
859 void DecimalQuantity::setDigitPos(int32_t position, int8_t value) { in setDigitPos()
874 void DecimalQuantity::shiftLeft(int32_t numDigits) { in shiftLeft()
894 void DecimalQuantity::shiftRight(int32_t numDigits) { in shiftRight()
910 void DecimalQuantity::setBcdToZero() { in setBcdToZero()
924 void DecimalQuantity::readIntToBcd(int32_t n) { in readIntToBcd()
938 void DecimalQuantity::readLongToBcd(int64_t n) { in readLongToBcd()
963 void DecimalQuantity::readDecNumberToBcd(const DecNum& decnum) { in readDecNumberToBcd()
981 void DecimalQuantity::readDoubleConversionToBcd( in readDoubleConversionToBcd()
1001 void DecimalQuantity::compact() { in compact()
1045 void DecimalQuantity::ensureCapacity() { in ensureCapacity()
1049 void DecimalQuantity::ensureCapacity(int32_t capacity) { in ensureCapacity()
1072 void DecimalQuantity::switchStorage() { in switchStorage()
1097 void DecimalQuantity::copyBcdFrom(const DecimalQuantity &other) { in copyBcdFrom()
1107 void DecimalQuantity::moveBcdFrom(DecimalQuantity &other) { in moveBcdFrom()
1121 const char16_t* DecimalQuantity::checkHealth() const { in checkHealth()
1159 bool DecimalQuantity::operator==(const DecimalQuantity& other) const { in operator ==()
1187 UnicodeString DecimalQuantity::toString() const { in toString()