mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-09-08 19:28:17 +00:00
Fixed HMM_PowerF
This commit is contained in:
@@ -736,7 +736,7 @@ HMM_Power(float Base, int Exponent)
|
|||||||
HINLINE float
|
HINLINE float
|
||||||
HMM_PowerF(float Base, float Exponent)
|
HMM_PowerF(float Base, float Exponent)
|
||||||
{
|
{
|
||||||
return expf(Exponent * logf(Base));
|
return HMM_EXPF(Exponent * HMM_LOGF(Base));
|
||||||
}
|
}
|
||||||
|
|
||||||
HINLINE float
|
HINLINE float
|
||||||
|
Reference in New Issue
Block a user