ΒΆinline uint64_t NextPowerOf2(uint64_t A)
inline uint64_t NextPowerOf2(uint64_t A)
Description
Returns the next power of two (in 64-bits) that is strictly greater than A. Returns zero on overflow.
Declared at: llvm/include/llvm/Support/MathExtras.h:672
Parameters
- uint64_t A