Lines Matching defs:mult
13 // Append the powers of 'mult' in the closed interval [lo, hi].
17 int mult) {
20 BM_CHECK_GE(mult, 2);
26 // Space out the values in multiples of "mult"
27 for (T i = static_cast<T>(1); i <= hi; i *= static_cast<T>(mult)) {
32 // 'mult' would move outside of the range of T
33 if (i > kmax / mult) break;
40 void AddNegatedPowers(std::vector<T>* dst, T lo, T hi, int mult) {
53 const auto it = AddPowers(dst, hi_complement, lo_complement, mult);
60 void AddRange(std::vector<T>* dst, T lo, T hi, int mult) {
65 BM_CHECK_GE(mult, 2);
81 // Add all powers of 'mult' in the range [lo+1, hi-1] (inclusive).
87 AddNegatedPowers(dst, lo_inner, std::min(hi_inner, T{-1}), mult);
97 AddPowers(dst, std::max(lo_inner, T{1}), hi_inner, mult);