Lines Matching refs:digits_
77 digits_ = 0; in SetToZero()
117 : digits_{that.digits_}, exponent_{that.exponent_}, in BigRadixFloatingPointNumber()
119 for (int j{0}; j < digits_; ++j) {
126 for (int j{0}; j < digits_; ++j) { in IsZero()
139 return digits_ == digitLimit_ && digit_[digits_ - 1] >= radix / 10; in IsFull()
158 digit_[digits_++] = n; in SetTo()
162 while (n != 0 && digits_ < digitLimit_) { in SetTo()
164 digit_[digits_++] = static_cast<Digit>(n - q * radix); in SetTo()
173 if (digits_ > 0 && digit_[0] == 0) { in RemoveLeastOrderZeroDigits()
174 while (remove < digits_ && digit_[remove] == 0) { in RemoveLeastOrderZeroDigits()
177 if (remove >= digits_) { in RemoveLeastOrderZeroDigits()
178 digits_ = 0; in RemoveLeastOrderZeroDigits()
183 for (int j{0}; j + remove < digits_ && (j + remove < maxDigits); ++j) { in RemoveLeastOrderZeroDigits()
185 for (int j{0}; j + remove < digits_; ++j) { in RemoveLeastOrderZeroDigits()
189 digits_ -= remove; in RemoveLeastOrderZeroDigits()
196 while (digits_ > 0 && digit_[digits_ - 1] == 0) { in RemoveLeastOrderZeroDigits()
197 --digits_; in RemoveLeastOrderZeroDigits()
210 return digits_ == 0 || (digit_[0] % N) == 0; in RemoveLeastOrderZeroDigits()
215 for (int j{digits_ - 1}; j >= 0; --j) { in RemoveLeastOrderZeroDigits()
228 for (int j{digits_ - 1}; j >= 0; --j) { in RemoveLeastOrderZeroDigits()
237 if (digits_ > 0) { in RemoveLeastOrderZeroDigits()
246 if (digit_[digits_ - 1] >> chunk != 0) { in RemoveLeastOrderZeroDigits()
247 if (digits_ == digitLimit_) { in RemoveLeastOrderZeroDigits()
250 digit_[digits_++] = 0; in RemoveLeastOrderZeroDigits()
252 auto remainder{digit_[digits_ - 1]}; in RemoveLeastOrderZeroDigits()
256 for (int j{digits_ - 1}; j >= 1; --j) { in RemoveLeastOrderZeroDigits()
267 for (; position < digits_; ++position) { in RemoveLeastOrderZeroDigits()
276 if (digits_ < digitLimit_) { in RemoveLeastOrderZeroDigits()
277 digit_[digits_++] = carry; in RemoveLeastOrderZeroDigits()
281 if (digits_ < digitLimit_) { in RemoveLeastOrderZeroDigits()
282 digit_[digits_++] = carry; in RemoveLeastOrderZeroDigits()
295 for (int j{0}; j < digits_; ++j) { in RemoveLeastOrderZeroDigits()
305 return AddCarry(digits_, newCarry); in RemoveLeastOrderZeroDigits()
313 if (digits_ < digitLimit_) { in RemoveLeastOrderZeroDigits()
314 digit_[digits_++] = carry; in RemoveLeastOrderZeroDigits()
327 if (digits_ == maxDigits && RemoveLeastOrderZeroDigits() == 0) { in RemoveLeastOrderZeroDigits()
329 digit_[digits_ - 1] += carry; in RemoveLeastOrderZeroDigits()
331 digit_[digits_++] = carry; in RemoveLeastOrderZeroDigits()
353 int digits_{0}; // # of elements in digit_[] array; zero when zero in RemoveLeastOrderZeroDigits()