Home
last modified time | relevance | path

Searched refs:nearestLogBase2 (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/ADT/
DAPIntTest.cpp834 TEST(APIntTest, nearestLogBase2) { in TEST() argument
840 EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2()); in TEST()
845 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
850 EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2()); in TEST()
857 EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2()); in TEST()
862 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
867 EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2()); in TEST()
871 EXPECT_EQ(A7.nearestLogBase2(), 0ULL); in TEST()
873 EXPECT_EQ(A8.nearestLogBase2(), UINT32_MAX); in TEST()
878 EXPECT_EQ(A9.nearestLogBase2(), UINT32_MAX); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h1530 unsigned nearestLogBase2() const { in nearestLogBase2() function