Lines Matching defs:DigitList

47 // class DigitList
70 DigitList::DigitList()
86 DigitList::~DigitList()
93 DigitList::DigitList(const DigitList &other)
103 DigitList&
104 DigitList::operator=(const DigitList& other)
125 // operator == (does not exactly match the old DigitList function)
128 DigitList::operator==(const DigitList& that) const
150 int32_t DigitList::compare(const DigitList &other) {
171 DigitList::reduce() {
179 DigitList::trim() {
187 DigitList::clear()
240 // (which DigitList follows) and the ICU Formatting Rounding Mode values.
243 // Note that ICU's kRoundingUnnecessary is not implemented directly by DigitList.
248 DigitList::setRoundingMode(DecimalFormat::ERoundingMode m) {
273 DigitList::setPositive(UBool s) {
284 DigitList::setDecimalAt(int32_t d) {
290 // Account for difference in how zero is represented between DigitList & decNumber.
298 DigitList::getDecimalAt() {
307 DigitList::setCount(int32_t c) {
310 // For a value of zero, DigitList sets all fields to zero, while
320 DigitList::getCount() const {
331 DigitList::setDigit(int32_t i, char v) {
341 DigitList::getDigit(int32_t i) {
347 // copied from DigitList::getDigit()
349 DigitList::getDigitValue(int32_t i) {
364 DigitList::append(char digit)
371 // that the old DigitList and decNumber represent it.
385 // DigitList emulation - appending doesn't change the magnitude of existing
404 DigitList::getDouble() const
413 DigitList *nonConstThis = const_cast<DigitList *>(this);
457 DigitList numToConvert(*this);
486 int32_t DigitList::getLong() /*const*/
496 DigitList copy(*this);
497 DigitList zero;
510 int64_t DigitList::getInt64() /*const*/ {
512 // Apply the changes for ICU ticket#8199 to avoid the crash in DigitList::getInt64().
569 void DigitList::getDecimal(CharString &str, UErrorCode &status) {
593 DigitList::fitsIntoLong(UBool ignoreNegativeZero) /*const*/
619 DigitList min32; min32.set("-2147483648", status);
623 DigitList max32; max32.set("2147483647", status);
640 DigitList::fitsIntoInt64(UBool ignoreNegativeZero) /*const*/
666 DigitList min64; min64.set("-9223372036854775808", status);
670 DigitList max64; max64.set("9223372036854775807", status);
684 DigitList::set(int32_t source)
697 DigitList::set(int64_t source)
711 * Set the DigitList from a decimal number string.
719 DigitList::set(const StringPiece &source, UErrorCode &status) {
752 DigitList::set(double source)
777 DigitList::mult(const DigitList &other, UErrorCode &status) {
798 DigitList::div(const DigitList &other, UErrorCode &status) {
813 DigitList::ensureCapacity(int32_t requestedCapacity, UErrorCode &status) {
846 DigitList::round(int32_t maximumDigits)
858 DigitList::roundFixedPoint(int32_t maximumFractionDigits) {
876 DigitList::toIntegralValue() {
883 DigitList::isZero() const