Added 'math.c' for optimized math and bit operations

This commit is contained in:
2022-08-23 08:41:53 -05:00
parent c36f65ce97
commit 21509be9bc
3 changed files with 77 additions and 19 deletions

8
include/math.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef _QUARK_UTIL_H
#define _QUARK_UTIL_H
int ilog2(unsigned int x);
int llog2(unsigned long x);
#endif