Searched refs:numerator_1 (Results 1 – 3 of 3) sorted by relevance
121 numerator_1 = val_1 * weight_1 * (1.0 - decay)123 self.assertAllClose(numerator_1 / denominator_1, wma_array)129 numerator_2 = numerator_1 * decay + val_2 * weight_2 * (1.0 - decay)148 numerator_1 = val_1 * weight_1 * (1.0 - decay)150 self.assertAllClose(numerator_1 / denominator_1, wma_array)156 numerator_2 = numerator_1 * decay + val_2 * 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()175 auto normalized_numerator_1 = numerator_1 / gcd_1; in NormalizeAndCompareFractions()