Lines Matching defs:cpp
18 namespace cpp {
50 EXPECT_EQ(countl_zero<T>(T(0)), cpp::numeric_limits<T>::digits);
57 EXPECT_EQ(countr_zero<T>(T(0)), cpp::numeric_limits<T>::digits);
65 int expected = cpp::numeric_limits<T>::digits;
72 int expected = cpp::numeric_limits<T>::digits;
166 for (int i = 0; i < cpp::numeric_limits<T>::digits; ++i) {
228 for (int i = 0; i != cpp::numeric_limits<T>::digits; ++i)
229 EXPECT_EQ(popcount<T>(cpp::numeric_limits<T>::max() >> i),
230 cpp::numeric_limits<T>::digits - i);
233 } // namespace cpp