[#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 not less than `value`. [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..._]# == Return Value least power of 2 not less than `value`, or 0 on failure == Parameters [cols="1,4"] |=== | Name| Description | *value* | value to round up to a power of 2 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#