Searched refs:maxIntN (Results 1 – 6 of 6) sorted by relevance
146 TEST(MathExtras, maxIntN) { in TEST() argument147 EXPECT_EQ(32767, maxIntN(16)); in TEST()148 EXPECT_EQ(2147483647, maxIntN(32)); in TEST()149 EXPECT_EQ(std::numeric_limits<int32_t>::max(), maxIntN(32)); in TEST()150 EXPECT_EQ(std::numeric_limits<int64_t>::max(), maxIntN(64)); in TEST()
121 TEST(MathExtras, maxIntN) { in TEST() argument122 EXPECT_EQ(32767, maxIntN(16)); in TEST()123 EXPECT_EQ(2147483647, maxIntN(32)); in TEST()
330 inline int64_t maxIntN(int64_t N) {345 return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N));
350 inline int64_t maxIntN(int64_t N) {367 return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N));
384 inline int64_t maxIntN(int64_t N) {399 return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N));
44 int64_t Max = maxIntN(Width); in signed_width()