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

Type: gulong

A #guint.

Return value

Type: guint

The number of bits used to hold number.