#pragma once #include "stdint.h" #include "types.h" uint32_t log2(uint32_t x);