diff --git a/HandmadeMath.h b/HandmadeMath.h index 1822221..d2abbc7 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -736,7 +736,7 @@ HMM_Power(float Base, int Exponent) HINLINE float HMM_PowerF(float Base, float Exponent) { - return expf(Exponent * logf(Base)); + return HMM_EXPF(Exponent * HMM_LOGF(Base)); } HINLINE float @@ -2138,4 +2138,4 @@ operator*=(hmm_mat4 &Left, float Right) #endif /* HANDMADE_MATH_CPP_MODE */ -#endif /* HANDMADE_MATH_IMPLEMENTATION */ +#endif /* HANDMADE_MATH_IMPLEMENTATION */ \ No newline at end of file