Home | History | Annotate | Download | only in Support

Lines Matching refs:Digit

48 /// A utility function that converts a character to a digit.
178 /// add_1 - This function adds a single "digit" integer, y, to the multiple
179 /// "digit" integer array, x[]. x[] is modified to reflect the addition and
186 y = 1; // Carry one to next digit.
204 /// sub_1 - This function subtracts a single "digit" (64-bit word), y, from
205 /// the multi-digit integer array, x[], propagating the borrowed 1 value until
215 y = 1; // We have to "borrow 1" from next "digit"
290 /// @brief Multiply a multi-digit APInt by a single digit (64-bit) integer.
296 // For each digit of x.
301 // hasCarry - A flag to indicate if there is a carry to the next digit.
1542 DEBUG(dbgs() << "KnuthDiv: quotient digit #" << j << '\n');
1629 DEBUG(dbgs() << "\nKnuthDiv: digit result = " << q[j] << '\n');
2092 // Set up an APInt for the digit to add outside the loop so we don't
2097 // Enter digit traversal loop
2099 unsigned digit = getDigit(*p, radix);
2100 assert(digit < radix && "Invalid character in digit string");
2110 // Add in the digit we just interpreted
2112 apdigit.VAL = digit;
2114 apdigit.pVal[0] = digit;
2213 // because the number of bits per digit (1, 3 and 4 respectively) divides
2216 // Just shift tmp right for each digit width until it becomes zero
2221 unsigned Digit = unsigned(Tmp.getRawData()[0]) & MaskAmt;
2222 Str.push_back(Digits[Digit]);
2232 unsigned Digit = (unsigned)APdigit.getZExtValue();
2233 assert(Digit < Radix && "divide failed");
2234 Str.push_back(Digits[Digit]);