Lines Matching refs:significand
588 significand.parts = new integerPart[count]; in initialize()
595 delete [] significand.parts; in freeSignificand()
628 integerPart *significand = significandParts(); in makeNaN() local
633 APInt::tcSet(significand, 0, numParts); in makeNaN()
635 APInt::tcAssign(significand, fill->getRawData(), in makeNaN()
642 significand[part] &= ((1ULL << bitsToPreserve) - 1); in makeNaN()
644 significand[part] = 0; in makeNaN()
651 APInt::tcClearBit(significand, QNaNBit); in makeNaN()
656 if (APInt::tcIsZero(significand, numParts)) in makeNaN()
657 APInt::tcSetBit(significand, QNaNBit - 1); in makeNaN()
660 APInt::tcSetBit(significand, QNaNBit); in makeNaN()
667 APInt::tcSetBit(significand, QNaNBit + 1); in makeNaN()
696 significand = rhs.significand; in operator =()
882 return significand.parts; in significandParts()
884 return &significand.part; in significandParts()
989 Significand savedSignificand = significand; in multiplySignificand()
1009 significand.part = fullSignificand[0]; in multiplySignificand()
1011 significand.parts = fullSignificand; in multiplySignificand()
1030 fullSignificand[0] = significand.part; in multiplySignificand()
1031 significand = savedSignificand; in multiplySignificand()
2047 significand.parts = newParts; in convert()
2054 significand.part = newPart; in convert()
2366 integerPart *significand = significandParts(); in convertFromHexadecimalString() local
2397 significand[bitPos / integerPartWidth] |= hex_value; in convertFromHexadecimalString()
2772 const integerPart *significand; in convertNormalToHexString() local
2782 significand = significandParts(); in convertNormalToHexString()
2805 fraction = lostFractionThroughTruncation (significand, partsCount, bits); in convertNormalToHexString()
2825 part = significand[count] << shift; in convertNormalToHexString()
2828 part |= significand[count - 1] >> (integerPartWidth - shift); in convertNormalToHexString()
3411 integerPart *significand = significandParts(); in makeLargest() local
3413 memset(significand, 0xFF, sizeof(integerPart)*(PartCount - 1)); in makeLargest()
3419 significand[PartCount - 1] = (NumUnusedHighBits < integerPartWidth) in makeLargest()
3495 void AdjustToPrecision(APInt &significand, in AdjustToPrecision() argument
3497 unsigned bits = significand.getActiveBits(); in AdjustToPrecision()
3509 APInt divisor(significand.getBitWidth(), 1); in AdjustToPrecision()
3510 APInt powten(significand.getBitWidth(), 10); in AdjustToPrecision()
3519 significand = significand.udiv(divisor); in AdjustToPrecision()
3522 significand = significand.trunc(significand.getActiveBits()); in AdjustToPrecision()
3603 APInt significand(semantics->precision, in toString() local
3621 int trailingZeros = significand.countTrailingZeros(); in toString()
3623 significand = significand.lshr(trailingZeros); in toString()
3630 significand = significand.zext(semantics->precision + exp); in toString()
3631 significand <<= exp; in toString()
3649 significand = significand.zext(precision); in toString()
3652 if (texp & 1) significand *= five_to_the_i; in toString()
3660 AdjustToPrecision(significand, exp, FormatPrecision); in toString()
3665 unsigned precision = significand.getBitWidth(); in toString()
3670 while (significand != 0) { in toString()
3673 APInt::udivrem(significand, ten, significand, digit); in toString()