Add sin/cos support

This commit is contained in:
Jaby
2024-01-31 21:29:57 -05:00
committed by Jaby
parent df59d26900
commit 8aeb3a6c31
5 changed files with 79 additions and 5 deletions

10
include/math.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef __MATH_H__
#define __MATH_H__
#include "stdint.h"
#define FULL_CIRCLE 32768
int32_t sin(int32_t value);
int32_t cos(int32_t value);
#endif // !__MATH_H__