ΒΆtemplate <class DigitsT>
int32_t getLgCeiling(DigitsT Digits,
int16_t Scale)
template <class DigitsT>
int32_t getLgCeiling(DigitsT Digits,
int16_t Scale)
Description
Get the lg ceiling of a scaled number. Get the ceiling of the lg of \c Digits*2^Scale. Returns \c INT32_MIN when \c Digits is zero.
Declared at: llvm/include/llvm/Support/ScaledNumber.h:232
Templates
- DigitsT
Parameters
- DigitsT Digits
- int16_t Scale