changeset 14218 | 3e551b0535fb |
parent 14206 | 801dc57371c3 |
--- a/project_files/hwc/rtl/pmath.h Sat Nov 10 21:15:42 2018 +0100 +++ b/project_files/hwc/rtl/pmath.h Sun Nov 11 00:14:13 2018 +0100 @@ -7,7 +7,7 @@ #define fpcrtl_min(a, b) ((a) < (b) ? (a) : (b)) #define fpcrtl_max(a, b) ((a) > (b) ? (a) : (b)) -float fpcrtl_power(float base, float exponent); +#define fpcrtl_power(a, b) pow(a, b) /* Currently the games only uses sign of an integer */ int fpcrtl_signi(int x);