Lines Matching refs:digit
183 uint16_t digit; in GenerateShortestDigits() local
184 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateShortestDigits()
185 ASSERT(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateShortestDigits()
188 buffer[(*length)++] = digit + '0'; in GenerateShortestDigits()
275 uint16_t digit; in GenerateCountedDigits() local
276 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits()
277 ASSERT(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateCountedDigits()
280 buffer[i] = digit + '0'; in GenerateCountedDigits()
285 uint16_t digit; in GenerateCountedDigits() local
286 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits()
288 digit++; in GenerateCountedDigits()
290 buffer[count - 1] = digit + '0'; in GenerateCountedDigits()