Lines Matching refs:UINT32_MAX
46 EXPECT_EQ(getRounded32(UINT32_MAX, 0, false), SP32(UINT32_MAX, 0)); in TEST()
47 EXPECT_EQ(getRounded32(UINT32_MAX, 0, true), SP32(1 << 31, 1)); in TEST()
52 EXPECT_EQ(getRounded64(UINT32_MAX, 0, false), SP64(UINT32_MAX, 0)); in TEST()
53 EXPECT_EQ(getRounded64(UINT32_MAX, 0, true), SP64(UINT64_C(1) << 32, 0)); in TEST()
59 const uint64_t Max32In64 = UINT32_MAX; in TEST()
62 EXPECT_EQ(getAdjusted32(UINT32_MAX), SP32(UINT32_MAX, 0)); in TEST()
63 EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MAX, 1)); in TEST()
64 EXPECT_EQ(getAdjusted32(Max32In64 << 1, 1), SP32(UINT32_MAX, 2)); in TEST()
65 EXPECT_EQ(getAdjusted32(Max32In64 << 31), SP32(UINT32_MAX, 31)); in TEST()
66 EXPECT_EQ(getAdjusted32(Max32In64 << 32), SP32(UINT32_MAX, 32)); in TEST()
72 EXPECT_EQ(getAdjusted64(UINT32_MAX), SP64(UINT32_MAX, 0)); in TEST()
139 EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(1, 0)); in TEST()
140 EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(6, 0)); in TEST()
202 EXPECT_EQ(31, getLg((UINT32_MAX >> 1) + 2, 0)); in TEST()
203 EXPECT_EQ(32, getLg(UINT32_MAX, 0)); in TEST()
236 EXPECT_EQ(31, getLgFloor((UINT32_MAX >> 1) + 2, 0)); in TEST()
237 EXPECT_EQ(31, getLgFloor(UINT32_MAX, 0)); in TEST()
266 EXPECT_EQ(32, getLgCeiling(UINT32_MAX, 0)); in TEST()
267 EXPECT_EQ(32, getLgCeiling((UINT32_MAX >> 1) + 2, 0)); in TEST()
389 EXPECT_EQ(SP32(UINT32_MAX, 0), getSum32(0, 0, UINT32_MAX, 0)); in TEST()
409 EXPECT_EQ(SP32(UINT32_C(1) << 31, 1), getSum32(1, 0, UINT32_MAX, 0)); in TEST()
414 EXPECT_EQ(SP32(UINT32_MAX, 0), getSum32(UINT32_MAX, 0, 0, 0)); in TEST()
423 EXPECT_EQ(SP32(UINT32_C(1) << 31, 1), getSum32(UINT32_MAX, 0, 1, 0)); in TEST()
477 EXPECT_EQ(SP32(UINT32_MAX, 0), getDifference32(UINT32_MAX, 0, 0, 0)); in TEST()
486 EXPECT_EQ(SP32(UINT32_MAX, 0), getDifference32(1, 32, 1, 0)); in TEST()
487 EXPECT_EQ(SP32(UINT32_MAX, -32), getDifference32(1, 0, 1, -32)); in TEST()
492 EXPECT_EQ(SP32(0, 0), getDifference32(0, 0, UINT32_MAX, 0)); in TEST()