OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getLg
(Results
1 - 2
of
2
) sorted by null
/external/llvm/unittests/Support/
ScaledNumberTest.cpp
193
TEST(ScaledNumberHelpersTest,
getLg
) {
194
EXPECT_EQ(0,
getLg
(UINT32_C(1), 0));
195
EXPECT_EQ(1,
getLg
(UINT32_C(1), 1));
196
EXPECT_EQ(1,
getLg
(UINT32_C(2), 0));
197
EXPECT_EQ(3,
getLg
(UINT32_C(1), 3));
198
EXPECT_EQ(3,
getLg
(UINT32_C(7), 0));
199
EXPECT_EQ(3,
getLg
(UINT32_C(8), 0));
200
EXPECT_EQ(3,
getLg
(UINT32_C(9), 0));
201
EXPECT_EQ(3,
getLg
(UINT32_C(64), -3));
202
EXPECT_EQ(31,
getLg
((UINT32_MAX >> 1) + 2, 0))
[
all
...]
/external/llvm/include/llvm/Support/
ScaledNumber.h
182
/// \brief Implementation of
getLg
() and friends.
214
template <class DigitsT> int32_t
getLg
(DigitsT Digits, int16_t Scale) {
554
int32_t lg() const { return ScaledNumbers::
getLg
(Digits, Scale); }
Completed in 142 milliseconds