[#BN_num_bits_word]
= BN&lowbar;num&lowbar;bits&lowbar;word
:mrdocs:

Return the number of significant bits in a single BN&lowbar;ULONG word&period;

== Synopsis

Declared in `&lt;openssl&sol;bn&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BN&lowbar;num&lowbar;bits&lowbar;word(unsigned long l);
----

== Return Value

Bit length of `l` (floor(log2(`l))&plus;1` when `l` !&equals; 0)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *l*
| Word value to measure&semi; zero yields 0&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
