OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getRounded64
(Results
1 - 2
of
2
) sorted by null
/external/llvm/unittests/Support/
ScaledNumberTest.cpp
49
EXPECT_EQ(
getRounded64
(0, 0, false), SP64(0, 0));
50
EXPECT_EQ(
getRounded64
(0, 0, true), SP64(1, 0));
51
EXPECT_EQ(
getRounded64
(20, 21, true), SP64(21, 21));
52
EXPECT_EQ(
getRounded64
(UINT32_MAX, 0, false), SP64(UINT32_MAX, 0));
53
EXPECT_EQ(
getRounded64
(UINT32_MAX, 0, true), SP64(UINT64_C(1) << 32, 0));
54
EXPECT_EQ(
getRounded64
(UINT64_MAX, 0, false), SP64(UINT64_MAX, 0));
55
EXPECT_EQ(
getRounded64
(UINT64_MAX, 0, true), SP64(UINT64_C(1) << 63, 1));
/external/llvm/include/llvm/Support/
ScaledNumber.h
71
inline std::pair<uint64_t, int16_t>
getRounded64
(uint64_t Digits, int16_t Scale,
Completed in 88 milliseconds