mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-09-08 11:18:17 +00:00
Fixed HMM_PowerF
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user