ΒΆtemplate <unsigned int B>
inline constexpr int64_t SignExtend64(uint64_t x)

Description

Sign-extend the number in the bottom B bits of X to a 64-bit integer. Requires 0 < B < = 64.

Declared at: llvm/include/llvm/Support/MathExtras.h:817

Templates

unsigned int B

Parameters

uint64_t x