Lines Matching refs:u64
43 static M64 u64(uint64_t d) { return UnsignedDivisionByConstant<uint64_t>(d); } in u64() function
116 EXPECT_EQ(M64(0x0000000000000000ULL, 0, true), u64(1)); in TEST()
118 EXPECT_EQ(M64(1ULL << (64 - k), 0, false), u64(1ULL << k)); in TEST()
120 EXPECT_EQ(M64(0xAAAAAAAAAAAAAAABULL, 1, false), u64(3)); in TEST()
121 EXPECT_EQ(M64(0xCCCCCCCCCCCCCCCDULL, 2, false), u64(5)); in TEST()
122 EXPECT_EQ(M64(0xAAAAAAAAAAAAAAABULL, 2, false), u64(6)); in TEST()
123 EXPECT_EQ(M64(0x2492492492492493ULL, 3, true), u64(7)); in TEST()
124 EXPECT_EQ(M64(0xE38E38E38E38E38FULL, 3, false), u64(9)); in TEST()
125 EXPECT_EQ(M64(0xCCCCCCCCCCCCCCCDULL, 3, false), u64(10)); in TEST()
126 EXPECT_EQ(M64(0x2E8BA2E8BA2E8BA3ULL, 1, false), u64(11)); in TEST()
127 EXPECT_EQ(M64(0xAAAAAAAAAAAAAAABULL, 3, false), u64(12)); in TEST()
128 EXPECT_EQ(M64(0x47AE147AE147AE15ULL, 5, true), u64(25)); in TEST()
129 EXPECT_EQ(M64(0x0624DD2F1A9FBE77ULL, 7, true), u64(125)); in TEST()
130 EXPECT_EQ(M64(0x346DC5D63886594BULL, 7, false), u64(625)); in TEST()