diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 1 | ||||
-rw-r--r-- | libstdc++-v3/libmath/stubs.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dbc6e7d..468f90fee 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -2,6 +2,7 @@ * libmath/stubs.c: New file. (tanhf): Fix typo. + (powf): Likewise. * libmath/Makefile.am (libmath_la_SOURCES): Add. * libmath/Makefile.in. Regenerate. diff --git a/libstdc++-v3/libmath/stubs.c b/libstdc++-v3/libmath/stubs.c index bf6d714..f25cb60 100644 --- a/libstdc++-v3/libmath/stubs.c +++ b/libstdc++-v3/libmath/stubs.c @@ -72,9 +72,9 @@ log10f(float x) #ifndef _GLIBCPP_HAVE_POWF float -powf(float x) +powf(float x, float y) { - return (float) pow(x); + return (float) pow(x, y); } #endif |