2015-05-15 03:36:57 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-05-01 18:38:37 +02:00
|
|
|
#include <stdint.h>
|
2015-05-15 03:36:57 +02:00
|
|
|
|
|
|
|
namespace math
|
|
|
|
{
|
2021-05-01 18:38:37 +02:00
|
|
|
uint32_t log2(uint32_t value);
|
2015-05-15 03:36:57 +02:00
|
|
|
|
2021-05-01 18:38:37 +02:00
|
|
|
uint32_t BitsToBytes(uint32_t bits);
|
2015-05-15 03:36:57 +02:00
|
|
|
}
|