Searched refs:MAX_DENOMINATOR (Results 1 – 2 of 2) sorted by relevance
164 auto MAX_DENOMINATOR = BP::getDenominator(); in TEST() local168 EXPECT_EQ(uint64_t(UINT32_MAX) * MAX_DENOMINATOR, in TEST()169 BP(1, MAX_DENOMINATOR).scaleByInverse(UINT32_MAX)); in TEST()170 EXPECT_EQ(MAX_DENOMINATOR, BP(1, MAX_DENOMINATOR).scaleByInverse(1)); in TEST()
212 auto MAX_DENOMINATOR = BP::getDenominator(); in TEST() local216 EXPECT_EQ(uint64_t(UINT32_MAX) * MAX_DENOMINATOR, in TEST()217 BP(1, MAX_DENOMINATOR).scaleByInverse(UINT32_MAX)); in TEST()218 EXPECT_EQ(MAX_DENOMINATOR, BP(1, MAX_DENOMINATOR).scaleByInverse(1)); in TEST()