20 lines
323 B
C
20 lines
323 B
C
#ifndef __libfixmath_uint32_h__
|
|
#define __libfixmath_uint32_h__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
/*! Performs an unsigned log-base2 on the specified unsigned integer and returns the result.
|
|
*/
|
|
extern uint32_t uint32_log2(uint32_t inVal);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|