ilog2

Functions

__msb32

public

STATIC_INLINE int __msb32(uint32_t i) 

__msb64

public

STATIC_INLINE int __msb64(uint64_t i) 

__msb32

public

STATIC_INLINE int __msb32(uint32_t i) 

__msb64

public

STATIC_INLINE int __msb64(uint64_t i) 

__msb32

public

STATIC_INLINE int __msb32(uint32_t i) 

__msb64

public

STATIC_INLINE int __msb64(uint64_t i) 

ilog2l

public


Calculate log2(value) for 32 bit integers

RETURN VALUES
-1 if value == 0 or log2(value)

STATIC_INLINE int ilog2l(unsigned long value) 

ilog2ll

public


Calculate log2(value) for 64 bit integers

RETURN VALUES
-1 if value == 0 or log2(value)

STATIC_INLINE int ilog2ll(unsigned long long value)