[#base_uint-0d-bits] = xref:base_uint-0d.adoc[base_uint<256>]::bits :relfileprefix: ../ :mrdocs: Returns the position of the highest bit set plus one, or zero if the value is zero. == Synopsis Declared in `<arith_uint256.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned int bits() const; ---- == Return Value The one‐based index of the most significant set bit, or zero. [.small]#Created with https://www.mrdocs.com[MrDocs]#