Lines Matching defs:digit
12365 // 3-length string to a 4-length string means that 1 new digit was added (and
12374 // - ("1" << 4) is "16", which adds 1 new digit.
12375 // - ("5678" << 4) is "90848", which adds 1 new digit.
12376 // - ("624" << 4) is "9984", which adds 1 new digit.
12377 // - ("62498" << 4) is "999968", which adds 1 new digit.
13692 // Repeat: pick up a digit, put down a digit, right to left.
13741 // Read a digit.
13765 // Repeat: pick up a digit, put down a digit, left to right.
13949 // digit and subsequently only 9s for h and 0s for upper. Thus, rounding
13969 // Calculate hd, the middle number's digit.
13976 // Calculate ld, the lower bound's digit.
13980 // We can round down (truncate) if lower has a different digit than h or if
13982 // have reached the final digit of lower).
13987 // Calculate ud, the upper bound's digit, and update upper_delta.
14010 // We can round up if upper has a different digit than h and either upper
14540 // *p a valid digit" than "is p within bounds and *p a valid digit".
14563 // it must be a single '0'. If it starts with a non-zero decimal digit, it
14864 : 3; // Mininum 3 bytes: first digit and then "e±".
14887 // Integral digit.
15287 uint8_t digit = wuffs_base__parse_number__decimal_digits[*p];
15288 if (digit == 0) {
15291 digit &= 0x0F;
15292 if ((v > max10) || ((v == max10) && (digit > max1))) {
15295 v = (10 * v) + ((uint64_t)(digit));
15317 uint8_t digit = wuffs_base__parse_number__hexadecimal_digits[*p];
15318 if (digit == 0) {
15321 digit &= 0x0F;
15325 v = (v << 4) | ((uint64_t)(digit));