Searched refs:twoPow (Results 1 – 3 of 3) sorted by relevance
28 int twoPow{x.UnbiasedExponent()}; local29 twoPow -= x.bits - 1;31 ++twoPow;34 if (twoPow <= -lshift) {35 twoPow += lshift;37 } else if (twoPow < 0) {38 lshift += twoPow;39 twoPow = 0;54 for (; twoPow > 0 && IsDivisibleBy<5>(); --twoPow) {60 for (; twoPow >= 9; twoPow -= 9) {[all …]
224 void DivideByPowerOfTwo(int twoPow) { // twoPow <= log10Radix in RemoveLeastOrderZeroDigits() argument226 auto mask{(Digit{1} << twoPow) - 1}; in RemoveLeastOrderZeroDigits()227 auto coeff{radix >> twoPow}; in RemoveLeastOrderZeroDigits()230 digit_[j] = (digit_[j] >> twoPow) + coeff * remainder; in RemoveLeastOrderZeroDigits()236 bool DivideByPowerOfTwoInPlace(int twoPow) { in RemoveLeastOrderZeroDigits() argument238 while (twoPow > 0) { in RemoveLeastOrderZeroDigits()239 int chunk{twoPow > log10Radix ? log10Radix : twoPow}; in RemoveLeastOrderZeroDigits()242 twoPow -= chunk; in RemoveLeastOrderZeroDigits()245 twoPow -= chunk; in RemoveLeastOrderZeroDigits()
69 static std::size_t twoPow(std::size_t Bits) { in twoPow() function87 return twoPow(Context.getTypeSize(T)); in getNumberOfPossibleValues()165 return twoPow(BitfieldDecl->getBitWidthValue(*Result.Context)); in handleSwitchWithoutDefault()