Function

GLibbit_storage

Declaration

guint
g_bit_storage (
  gulong number
)

Description

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.