summaryrefslogtreecommitdiff
path: root/libfixmath/fixmath/uint32.h
blob: 13033380618351fb3bc0dfaf26466ca96d70ac9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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