Lines Matching refs:getQuotient32
136 EXPECT_EQ(SP32(0, 0), getQuotient32(0, 0));
137 EXPECT_EQ(SP32(0, 0), getQuotient32(0, 1));
138 EXPECT_EQ(SP32(0, 0), getQuotient32(0, 73));
139 EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(1, 0));
140 EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(6, 0));
143 EXPECT_EQ(SP32(1u << 31, -31), getQuotient32(1, 1));
144 EXPECT_EQ(SP32(1u << 31, -30), getQuotient32(2, 1));
145 EXPECT_EQ(SP32(1u << 31, -33), getQuotient32(4, 16));
146 EXPECT_EQ(SP32(7u << 29, -29), getQuotient32(7, 1));
147 EXPECT_EQ(SP32(7u << 29, -30), getQuotient32(7, 2));
148 EXPECT_EQ(SP32(7u << 29, -33), getQuotient32(7, 16));
151 EXPECT_EQ(SP32(3u << 30, -30), getQuotient32(9, 3));
152 EXPECT_EQ(SP32(9u << 28, -28), getQuotient32(63, 7));
155 EXPECT_EQ(SP32(0xaaaaaaab, -33), getQuotient32(1, 3));
156 EXPECT_EQ(SP32(0xd5555555, -31), getQuotient32(5, 3));