ΒΆtemplate <unsigned int N, unsigned int S>
inline constexpr bool isShiftedInt(int64_t x)
template <unsigned int N, unsigned int S>
inline constexpr bool isShiftedInt(int64_t x)
Description
Checks if a signed integer is an N bit number shifted left by S.
Declared at: llvm/include/llvm/Support/MathExtras.h:351
Templates
- unsigned int N
- unsigned int S
Parameters
- int64_t x