[#BloombergLP-bdlb-BitUtil-roundUpToBinaryPower-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::roundUpToBinaryPower :relfileprefix: ../../../ :mrdocs: Return the least power of 2 that is greater than or equal to the specified `value`, and 0 if the conversion was not successful. Note that the conversion will succeed if and only if `0 < value <= (1 << (sizeInBits(value) ‐ 1))` == Synopsis Declared in `<bdlb_bitutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static unsigned int roundUpToBinaryPower(unsigned int value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#