2 * Powf may leave an unresolved symbol pointing to a libstdc++.so powf.
3 * However, not all libstdc++.so include this function, so optionally
4 * replace the powf function with calls to expf and logf.
7 #ifdef VMW_RESOLVE_POWF
9 extern float expf(float x
);
10 extern float logf(float x
);
11 extern float powf(float x
, float y
);
13 float powf(float x
, float y
) {
14 return expf(logf(x
)*y
);