Searched refs:shiftedM (Results 1 – 1 of 1) sorted by relevance
27 auto shiftedM = std::round(mantissa * (int64_t(1) << 15)); in computeMultiplierAndShiftTosaScale16() local30 assert(shiftedM <= (int64_t(1) << 15) && in computeMultiplierAndShiftTosaScale16()33 if (shiftedM == (int64_t(1) << 15)) { in computeMultiplierAndShiftTosaScale16()34 shiftedM /= 2; in computeMultiplierAndShiftTosaScale16()42 assert(shiftedM <= std::numeric_limits<int32_t>::max() && in computeMultiplierAndShiftTosaScale16()45 multiplier = static_cast<int32_t>(shiftedM); in computeMultiplierAndShiftTosaScale16()56 auto shiftedM = std::round(mantissa * (int64_t(1) << 31)); in computeMultiplierAndShiftTosaScale32() local59 assert(shiftedM <= (int64_t(1) << 31) && in computeMultiplierAndShiftTosaScale32()61 if (shiftedM == (int64_t(1) << 31)) { in computeMultiplierAndShiftTosaScale32()62 shiftedM /= 2; in computeMultiplierAndShiftTosaScale32()[all …]