OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getLgCeiling
(Results
1 - 2
of
2
) sorted by null
/external/llvm/unittests/Support/
ScaledNumberTest.cpp
257
TEST(ScaledNumberHelpersTest,
getLgCeiling
) {
258
EXPECT_EQ(0,
getLgCeiling
(UINT32_C(1), 0));
259
EXPECT_EQ(1,
getLgCeiling
(UINT32_C(1), 1));
260
EXPECT_EQ(1,
getLgCeiling
(UINT32_C(2), 0));
261
EXPECT_EQ(3,
getLgCeiling
(UINT32_C(1), 3));
262
EXPECT_EQ(3,
getLgCeiling
(UINT32_C(7), 0));
263
EXPECT_EQ(3,
getLgCeiling
(UINT32_C(8), 0));
264
EXPECT_EQ(3,
getLgCeiling
(UINT32_C(64), -3));
265
EXPECT_EQ(4,
getLgCeiling
(UINT32_C(9), 0));
266
EXPECT_EQ(32,
getLgCeiling
(UINT32_MAX, 0))
[
all
...]
/external/llvm/include/llvm/Support/
ScaledNumber.h
233
template <class DigitsT> int32_t
getLgCeiling
(DigitsT Digits, int16_t Scale) {
565
return ScaledNumbers::
getLgCeiling
(Digits, Scale);
Completed in 257 milliseconds