• Home
  • Raw
  • Download

Lines Matching refs:getDigitPos

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