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');
2052 // Set up an APInt for the digit to add outside the loop so we don't
2057 // Enter digit traversal loop
2059 unsigned digit = getDigit(*p, radix);
2060 assert(digit < radix && "Invalid character in digit string");
2070 // Add in the digit we just interpreted
2072 apdigit.VAL = digit;
2074 apdigit.pVal[0] = digit;
2173 // because the number of bits per digit (1, 3 and 4 respectively) divides
2176 // Just shift tmp right for each digit width until it becomes zero
2181 unsigned Digit = unsigned(Tmp.getRawData()[0]) & MaskAmt;
2182 Str.push_back(Digits[Digit]);
2192 unsigned Digit = (unsigned)APdigit.getZExtValue();
2193 assert(Digit < Radix && "divide failed");
2194 Str.push_back(Digits[Digit]);