Home | History | Annotate | Download | only in i18n

Lines Matching refs:getDigitPos

292     return getDigitPos(magnitude - scale);
509 result = result * 10 + getDigitPos(magnitude - scale);
525 result = result * 10 + getDigitPos(magnitude - scale);
596 ubcd[precision - m - 1] = static_cast<uint8_t>(getDigitPos(m));
624 int8_t leadingDigit = getDigitPos(safeSubtract(position, 1));
625 int8_t trailingDigit = getDigitPos(position);
640 if (getDigitPos(p) != 0) {
652 if (getDigitPos(p) != 0) {
659 if (getDigitPos(p) != 9) {
666 if (getDigitPos(p) != 0) {
674 if (getDigitPos(p) != 9) {
733 // so bubblePos <= 15 and getDigitPos(bubblePos) is safe.
734 for (; getDigitPos(bubblePos) == 9; bubblePos++) {}
737 int8_t digit0 = getDigitPos(0);
814 result.append(u'0' + getDigitPos(p));
818 result.append(u'0' + getDigitPos(p));
849 int8_t DecimalQuantity::getDigitPos(int32_t position) const {
1034 for (; delta < precision && getDigitPos(delta) == 0; delta++);
1040 for (; leading >= 0 && getDigitPos(leading) == 0; leading--);
1126 if (getDigitPos(precision - 1) == 0) { return u"Most significant digit is zero in byte mode"; }
1127 if (getDigitPos(0) == 0) { return u"Least significant digit is zero in long mode"; }
1129 if (getDigitPos(i) >= 10) { return u"Digit exceeding 10 in byte array"; }
1130 if (getDigitPos(i) < 0) { return u"Digit below 0 in byte array"; }
1133 if (getDigitPos(i) != 0) { return u"Nonzero digits outside of range in byte array"; }
1140 if (precision != 0 && getDigitPos(precision - 1) == 0) {
1143 if (precision != 0 && getDigitPos(0) == 0) {
1147 if (getDigitPos(i) >= 10) { return u"Digit exceeding 10 in long"; }
1148 if (getDigitPos(i) < 0) { return u"Digit below 0 in long (?!)"; }
1151 if (getDigitPos(i) != 0) { return u"Nonzero digits outside of range in long"; }
1190 digits[i] = getDigitPos(precision - i - 1) + '0';