Lines Matching defs:partsCount

766   unsigned int partsCount = 1;
783 APInt::tcFullMultiply(pow5, pow5 - partsCount, pow5 - partsCount,
784 partsCount, partsCount);
785 partsCount *= 2;
786 if (pow5[partsCount - 1] == 0)
787 partsCount--;
793 APInt::tcFullMultiply(p2, p1, pow5, result, partsCount);
794 result += partsCount;
798 /* Now result is in p1 with partsCount parts and p2 is scratch
805 pow5 += partsCount;
1244 unsigned int partsCount, newPartsCount, precision;
1265 partsCount = partCount();
1268 rhs.significandParts(), partsCount, partsCount);
1365 APInt::tcAssign(lhsSignificand, fullSignificand, partsCount);
1379 unsigned int bit, i, partsCount;
1389 partsCount = partCount();
1391 if (partsCount > 2)
1392 dividend = new integerPart[partsCount * 2];
1396 divisor = dividend + partsCount;
1399 for (i = 0; i < partsCount; i++) {
1410 bit = precision - APInt::tcMSB(divisor, partsCount) - 1;
1413 APInt::tcShiftLeft(divisor, partsCount, bit);
1417 bit = precision - APInt::tcMSB(dividend, partsCount) - 1;
1420 APInt::tcShiftLeft(dividend, partsCount, bit);
1426 if (APInt::tcCompare(dividend, divisor, partsCount) < 0) {
1428 APInt::tcShiftLeft(dividend, partsCount, 1);
1429 assert(APInt::tcCompare(dividend, divisor, partsCount) >= 0);
1434 if (APInt::tcCompare(dividend, divisor, partsCount) >= 0) {
1435 APInt::tcSubtract(dividend, divisor, 0, partsCount);
1439 APInt::tcShiftLeft(dividend, partsCount, 1);
1443 int cmp = APInt::tcCompare(dividend, divisor, partsCount);
1449 else if (APInt::tcIsZero(dividend, partsCount))
1454 if (partsCount > 2)
1483 unsigned int partsCount = partCount();
1485 APInt::tcShiftLeft(significandParts(), partsCount, bits);
1488 assert(!APInt::tcIsZero(significandParts(), partsCount));
2859 unsigned partsCount = partCount();
2860 unsigned bitPos = partsCount * integerPartWidth;
2931 expAdjustment -= partsCount * integerPartWidth;
3325 unsigned int count, valueBits, shift, partsCount, outputDigits;
3338 partsCount = partCount();
3360 fraction = lostFractionThroughTruncation (significand, partsCount, bits);
3377 if (--count == partsCount)