Removed reliance on powf CRT function.

This commit is contained in:
Branimir Karadžić
2018-01-13 16:57:39 -08:00
parent 4a6e727a40
commit 3c1ac9b021
2 changed files with 12 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ namespace bx
float pow(float _a, float _b)
{
return ::powf(_a, _b);
return exp(_b * log(_a) );
}
float log(float _a)