• Home
  • Raw
  • Download

Lines Matching refs:getDigitPos

318     return getDigitPos(magnitude - scale);  in getDigit()
550 result = result * 10 + getDigitPos(magnitude - scale - exponent); in toLong()
566 result = result * 10 + getDigitPos(magnitude - scale); in toFractionLong()
643 ubcd[precision - m - 1] = static_cast<uint8_t>(getDigitPos(m)); in toDecNum()
671 int8_t trailingDigit = getDigitPos(position); in roundToMagnitude()
680 int8_t leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude()
714 if (getDigitPos(p) != 0) { in roundToMagnitude()
726 if (getDigitPos(p) != 0) { in roundToMagnitude()
734 if (getDigitPos(p) != 9) { in roundToMagnitude()
742 if (getDigitPos(p) != 0) { in roundToMagnitude()
750 if (getDigitPos(p) != 9) { in roundToMagnitude()
850 for (; getDigitPos(bubblePos) == 9; bubblePos++) {} in roundToMagnitude()
853 int8_t digit0 = getDigitPos(0); in roundToMagnitude()
922 sb.append(u'0' + getDigitPos(p - scale - exponent)); in toPlainString()
928 sb.append(u'0' + getDigitPos(p - scale - exponent)); in toPlainString()
946 result.append(u'0' + getDigitPos(p)); in toScientificString()
950 result.append(u'0' + getDigitPos(p)); in toScientificString()
981 int8_t DecimalQuantity::getDigitPos(int32_t position) const { in getDigitPos() function in DecimalQuantity
1175 for (; delta < precision && getDigitPos(delta) == 0; delta++); in compact()
1181 for (; leading >= 0 && getDigitPos(leading) == 0; leading--); in compact()
1267 … if (getDigitPos(precision - 1) == 0) { return u"Most significant digit is zero in byte mode"; } in checkHealth()
1268 if (getDigitPos(0) == 0) { return u"Least significant digit is zero in long mode"; } in checkHealth()
1270 if (getDigitPos(i) >= 10) { return u"Digit exceeding 10 in byte array"; } in checkHealth()
1271 if (getDigitPos(i) < 0) { return u"Digit below 0 in byte array"; } in checkHealth()
1274 if (getDigitPos(i) != 0) { return u"Nonzero digits outside of range in byte array"; } in checkHealth()
1281 if (precision != 0 && getDigitPos(precision - 1) == 0) { in checkHealth()
1284 if (precision != 0 && getDigitPos(0) == 0) { in checkHealth()
1288 if (getDigitPos(i) >= 10) { return u"Digit exceeding 10 in long"; } in checkHealth()
1289 if (getDigitPos(i) < 0) { return u"Digit below 0 in long (?!)"; } in checkHealth()
1292 if (getDigitPos(i) != 0) { return u"Nonzero digits outside of range in long"; } in checkHealth()
1333 digits[i] = getDigitPos(precision - i - 1) + '0'; in toString()