OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MaxScale
(Results
1 - 3
of
3
) sorted by null
/external/llvm/lib/Support/
ScaledNumber.cpp
164
assert(E <= ScaledNumbers::
MaxScale
);
166
// Find a new E, but don't let it increase past
MaxScale
.
168
int NewE = std::min(ScaledNumbers::
MaxScale
, E + 63 - LeadingZeros);
171
assert(Shift == LeadingZeros || NewE == ScaledNumbers::
MaxScale
);
179
assert(E == ScaledNumbers::
MaxScale
);
/external/llvm/include/llvm/Support/
ScaledNumber.h
37
const int32_t
MaxScale
= 16383;
152
/// Returns \c (DigitsT_MAX,
MaxScale
) for divide-by-zero (0 for 0/0).
163
return std::make_pair(std::numeric_limits<DigitsT>::max(),
MaxScale
);
524
return ScaledNumber(DigitsLimits::max(), ScaledNumbers::
MaxScale
);
612
// Check for exponent past
MaxScale
.
613
if (Scale > ScaledNumbers::
MaxScale
)
700
/// \pre Shift >= MinScale && Shift + 64 <=
MaxScale
.
703
assert(Shift <= ScaledNumbers::
MaxScale
- 64 &&
844
int32_t ScaleShift = std::min(Shift, ScaledNumbers::
MaxScale
- Scale);
/external/llvm/unittests/Support/
ScaledNumberTest.cpp
139
EXPECT_EQ(SP32(UINT32_MAX,
MaxScale
), getQuotient32(1, 0));
140
EXPECT_EQ(SP32(UINT32_MAX,
MaxScale
), getQuotient32(6, 0));
173
EXPECT_EQ(SP64(UINT64_MAX,
MaxScale
), getQuotient64(1, 0));
174
EXPECT_EQ(SP64(UINT64_MAX,
MaxScale
), getQuotient64(6, 0));
Completed in 82 milliseconds