Lines Matching defs:digit
202 int digit;
204 digit = static_cast<char>(*current) - '0';
206 digit = static_cast<char>(*current) - 'a' + 10;
208 digit = static_cast<char>(*current) - 'A' + 10;
217 number = number * radix + digit;
758 insignificant_digits++; // Move the digit into the exponential part.
856 int digit = *current - '0';
858 !(num == max_exponent / 10 && digit <= max_exponent % 10)) {
861 num = num * 10 + digit;
1115 // Build the string backwards from the least significant digit.
1207 // three digit exponent.
1240 // f corresponds to the digits after the point. There is always one digit
1370 // Shift up by one digit.
1373 // Write digit.
1374 int digit = static_cast<int>(fraction);
1375 buffer[fraction_cursor++] = chars[digit];
1377 fraction -= digit;
1379 if (fraction > 0.5 || (fraction == 0.5 && (digit & 1))) {
1391 // Reconstruct digit.
1392 digit = c > '9' ? (c - 'a' + 10) : (c - '0');
1393 if (digit + 1 < radix) {
1394 buffer[fraction_cursor++] = chars[digit + 1];
1466 // If the first char is not a digit or a '-' or we can't match 'NaN' or