shithub: rgbds

ref: 292302c6d127f9aa6e8e443b4d41077d9ce00063
dir: /include/asm/mymath.h/

View raw version
#ifndef RGBDS_ASM_MATH_H
#define RGBDS_ASM_MATH_H

#include <stdint.h>

void math_DefinePI(void);
void math_Print(int32_t i);
int32_t math_Sin(int32_t i);
int32_t math_Cos(int32_t i);
int32_t math_Tan(int32_t i);
int32_t math_ASin(int32_t i);
int32_t math_ACos(int32_t i);
int32_t math_ATan(int32_t i);
int32_t math_ATan2(int32_t i, int32_t j);
int32_t math_Mul(int32_t i, int32_t j);
int32_t math_Div(int32_t i, int32_t j);
int32_t math_Round(int32_t i);
int32_t math_Ceil(int32_t i);
int32_t math_Floor(int32_t i);

#endif /* RGBDS_ASM_MATH_H */