mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
15 lines
400 B
C
Executable File
15 lines
400 B
C
Executable File
#ifndef GUARD_MATH_UTIL_H
|
|
#define GUARD_MATH_UTIL_H
|
|
|
|
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);
|
|
|
|
#endif // GUARD_MATH_UTIL_H
|