1/** 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. 5 */ 6 7#ifdef VMW_RESOLVE_POWF 8 9extern float expf(float x); 10extern float logf(float x); 11extern float powf(float x, float y); 12 13float powf(float x, float y) { 14 return expf(logf(x)*y); 15} 16 17#endif 18