Searched refs:twoPow (Results 1 – 4 of 4) sorted by relevance
30 twoPow -= x.bits - 1;32 ++twoPow;35 if (twoPow <= -lshift) {36 twoPow += lshift;38 } else if (twoPow < 0) {39 lshift += twoPow;40 twoPow = 0;55 for (; twoPow > 0 && IsDivisibleBy<5>(); --twoPow) {61 for (; twoPow >= 9; twoPow -= 9) {65 for (; twoPow >= 3; twoPow -= 3) {[all …]
225 void DivideByPowerOfTwo(int twoPow) { // twoPow <= log10Radix in RemoveLeastOrderZeroDigits() argument227 auto mask{(Digit{1} << twoPow) - 1}; in RemoveLeastOrderZeroDigits()228 auto coeff{radix >> twoPow}; in RemoveLeastOrderZeroDigits()231 digit_[j] = (digit_[j] >> twoPow) + coeff * remainder; in RemoveLeastOrderZeroDigits()237 bool DivideByPowerOfTwoInPlace(int twoPow) { in RemoveLeastOrderZeroDigits() argument239 while (twoPow > 0) { in RemoveLeastOrderZeroDigits()240 int chunk{twoPow > log10Radix ? log10Radix : twoPow}; in RemoveLeastOrderZeroDigits()243 twoPow -= chunk; in RemoveLeastOrderZeroDigits()246 twoPow -= chunk; in RemoveLeastOrderZeroDigits()
69 static std::size_t twoPow(std::size_t Bits) { in twoPow() function87 return twoPow(Context.getTypeSize(T)); in getNumberOfPossibleValues()164 return twoPow(BitfieldDecl->getBitWidthValue(*Result.Context)); in handleSwitchWithoutDefault()
188 Real twoPow; variable190 twoPow.Normalize(false, static_cast<int>(expo), Fraction::MASKL(1))};191 ValueWithRealFlags<Real> result{Multiply(twoPow, rounding)};