[#BloombergLP-bdlb-BitUtil-log2-023] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::log2 :relfileprefix: ../../../ :mrdocs: Same as the `unsigned int` overload. == Synopsis Declared in `<bdlb_bitutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int log2(unsigned long long value); ---- == Return Value base‐2 logarithm of `value` rounded up to the nearest integer == Parameters [cols="1,4"] |=== | Name| Description | *value* | value whose base‐2 logarithm is returned |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#