pokeemerald/include/math_util.h

15 lines
400 B
C
Raw Normal View History

2018-12-18 03:56:34 +00:00
#ifndef GUARD_MATH_UTIL_H
#define GUARD_MATH_UTIL_H
2020-05-20 18:22:41 +00:00
s16 MathUtil_Mul16(s16 x, s16 y);
s16 MathUtil_Mul16Shift(u8 s, s16 x, s16 y);
s32 MathUtil_Mul32(s32 x, s32 y);
s16 MathUtil_Div16(s16 x, s16 y);
s16 MathUtil_Div16Shift(u8 s, s16 x, s16 y);
s32 MathUtil_Div32(s32 x, s32 y);
s16 MathUtil_Inv16(s16 y);
s16 MathUtil_Inv16Shift(u8 s, s16 y);
s32 MathUtil_Inv32(s32 y);
2018-12-18 03:56:34 +00:00
#endif // GUARD_MATH_UTIL_H