Lines Matching defs:digit

562 		// Clear the lower part of the last digit.
1256 // digit; multiplication never goes above the sum of both lengths.
1692 // results in either 16 for 64-bit 9-digit limbs or 7 for 32-bit 4-digit
1975 // We want an extra digit so we can safely truncate.
2342 * Parses one character and returns the digit that corresponds to that
2346 * @return The character as a digit.
2360 // This returns the digit that directly corresponds with the letter.
2363 // If the digit is greater than the base, we clamp.
2369 // Straight convert the digit to a number.
2482 // Add the digit to the limb. This takes care of overflow from
2556 // the number by the base, then add the digit.
2559 // Convert the character to a digit.
2565 // Convert the digit to a number and add.
2600 // Convert the character to a digit.
2608 // Convert the digit to a number.
2611 // Add the digit into the fraction part.
2689 * Prints a character for a number's digit. This is for printing for dc's P
2692 * @param n The "digit" to print.
2693 * @param len The "length" of the digit, or number of characters that will
2694 * need to be printed for the digit.
2714 * @param n The "digit" to print.
2715 * @param len The "length" of the digit, or number of characters that will
2716 * need to be printed for the digit.
2750 * Prints a character for a number's digit. This is for printing in bases for
2753 * @param n The "digit" to print.
2754 * @param len The "length" of the digit, or number of characters that will
2755 * need to be printed for the digit.
2821 // when the last digit to be printed could take the place of the
3055 BcNum intp, fracp1, fracp2, digit, flen1, flen2;
3181 // This condition is true if we are not at the last digit.
3195 // Push the digit onto the stack.
3202 // Go through the stack backwards and print each digit.
3211 // last digit to be printed could take the place of the backslash rather
3220 // point plus at least one digit). So if there is a scale, a backslash
3226 // least one more character for at least one more digit). Otherwise, if
3245 bc_num_setup(&digit, digit_digs, sizeof(digit_digs) / sizeof(BcDig));
3279 // Convert the digit to a number and subtract it from the number.
3280 bc_num_bigdig2num(&digit, dig);
3281 bc_num_sub(&fracp2, &digit, &fracp1, 0);
3284 // needs explaining. I don't want to print a newline when the last digit
3469 // ignore them until we hit the first non-zero digit.
3886 // If the last digit is not one, we need to set a bound for it