Searched refs:kDenominator (Results 1 – 1 of 1) sorted by relevance
29 constexpr int_fast32_t kDenominator = 32768; in multiplyByVolume() local31 static_cast<int_fast32_t>(round(volume * kDenominator)); in multiplyByVolume()33 if (numerator >= kDenominator) { in multiplyByVolume()46 *a = (*a * numerator + kDenominator / 2) / kDenominator; \ in multiplyByVolume()