From: Gabriel Dos Reis Date: Fri, 22 Jun 2001 08:57:02 +0000 (+0000) Subject: * libmath/stubs.c (powf): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b8d3a3451f12827490a78130012f5f3bf28f23c;p=gcc.git * libmath/stubs.c (powf): Fix typo. From-SVN: r43503 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dbc6e7d9c98..468f90fee0e 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 bf6d714bc55..f25cb60fa69 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