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