[#BloombergLP-bdlb-BitStringImpUtil-find1AtMaxIndexRaw] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringImpUtil.adoc[BitStringImpUtil]::find1AtMaxIndexRaw :relfileprefix: ../../../ :mrdocs: Return the index of the highest‐order set bit in a non‐zero value. == Synopsis Declared in `<bdlb_bitstringimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int find1AtMaxIndexRaw(uint64_t value); ---- == Description Return the index of the highest‐order set bit in the specified non‐zero `value`. The behavior is undefined unless `0 != value`. Note that this method is "raw" due to the requirement that at least one bit in `value` must be set. == Return Value index of the highest‐order set bit == Parameters [cols="1,4"] |=== | Name| Description | *value* | non‐zero word to search |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#