Return the number of significant bits in a single BN_ULONG word.

Synopsis

Declared in <openssl/bn.h>

int
BN_num_bits_word(unsigned long l);

Return Value

Bit length of l (floor(log2(l))+1 when l != 0).

Parameters

Name

Description

l

Word value to measure; zero yields 0.

Created with MrDocs