Searched refs:denominator_1 (Results 1 – 3 of 3) sorted by relevance
122 denominator_1 = weight_1 * (1.0 - decay)123 self.assertAllClose(numerator_1 / denominator_1, wma_array)130 denominator_2 = denominator_1 * decay + weight_2 * (1.0 - decay)149 denominator_1 = weight_1 * (1.0 - decay)150 self.assertAllClose(numerator_1 / denominator_1, wma_array)157 denominator_2 = denominator_1 * decay + weight_2 * (1.0 - decay)
167 int64_t numerator_1, int64_t denominator_1) { in NormalizeAndCompareFractions() argument171 GreatestCommonDivisor(std::abs(numerator_1), std::abs(denominator_1)); in NormalizeAndCompareFractions()176 auto normalized_denominator_1 = denominator_1 / gcd_1; in NormalizeAndCompareFractions()