Function

GLibbit_storage

Declaration [src]

guint
g_bit_storage (
  gulong number
)

Description [src]

Gets the number of bits used to hold number, e.g. if number is 4, 3 bits are needed.

Parameters

number gulong
 

A #guint.

Return value

Returns: guint
 

The number of bits used to hold number.