[#BloombergLP-bdlb-BitUtil-roundUpToBinaryPower-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::roundUpToBinaryPower :relfileprefix: ../../../ :mrdocs: `roundUpToBinaryPower` overloads == Synopses Declared in `<bdlb_bitutil.h>` 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))` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static unsigned int xref:BloombergLP/bdlb/BitUtil/roundUpToBinaryPower-08.adoc[roundUpToBinaryPower](unsigned int value); ---- [.small]#xref:BloombergLP/bdlb/BitUtil/roundUpToBinaryPower-08.adoc[_» more..._]# Same as the `unsigned int` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static unsigned long xref:BloombergLP/bdlb/BitUtil/roundUpToBinaryPower-0e.adoc[roundUpToBinaryPower](unsigned long value); ---- [.small]#xref:BloombergLP/bdlb/BitUtil/roundUpToBinaryPower-0e.adoc[_» more..._]# Same as the `unsigned int` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static unsigned long long xref:BloombergLP/bdlb/BitUtil/roundUpToBinaryPower-07.adoc[roundUpToBinaryPower](unsigned long long value); ---- [.small]#xref:BloombergLP/bdlb/BitUtil/roundUpToBinaryPower-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#