Searched refs:getRounded64 (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | ScaledNumberTest.cpp | 50 EXPECT_EQ(getRounded64(0, 0, false), SP64(0, 0)); in TEST() 51 EXPECT_EQ(getRounded64(0, 0, true), SP64(1, 0)); in TEST() 52 EXPECT_EQ(getRounded64(20, 21, true), SP64(21, 21)); in TEST() 53 EXPECT_EQ(getRounded64(UINT32_MAX, 0, false), SP64(UINT32_MAX, 0)); in TEST() 54 EXPECT_EQ(getRounded64(UINT32_MAX, 0, true), SP64(UINT64_C(1) << 32, 0)); in TEST() 55 EXPECT_EQ(getRounded64(UINT64_MAX, 0, false), SP64(UINT64_MAX, 0)); in TEST() 56 EXPECT_EQ(getRounded64(UINT64_MAX, 0, true), SP64(UINT64_C(1) << 63, 1)); in TEST()
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 72 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() function
|