Home
last modified time | relevance | path

Searched refs:MaxScale (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DScaledNumber.cpp165 assert(E <= ScaledNumbers::MaxScale); in toStringAPFloat()
169 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros); in toStringAPFloat()
172 assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale); in toStringAPFloat()
180 assert(E == ScaledNumbers::MaxScale); in toStringAPFloat()
/external/llvm/include/llvm/Support/
DScaledNumber.h37 const int32_t MaxScale = 16383; variable
163 return std::make_pair(std::numeric_limits<DigitsT>::max(), MaxScale); in getQuotient()
524 return ScaledNumber(DigitsLimits::max(), ScaledNumbers::MaxScale); in getLargest()
613 if (Scale > ScaledNumbers::MaxScale)
703 assert(Shift <= ScaledNumbers::MaxScale - 64 && in adjustToWidth()
844 int32_t ScaleShift = std::min(Shift, ScaledNumbers::MaxScale - Scale); in shiftLeft()
/external/llvm/unittests/Support/
DScaledNumberTest.cpp139 EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(1, 0)); in TEST()
140 EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(6, 0)); in TEST()
173 EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(1, 0)); in TEST()
174 EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(6, 0)); in TEST()