From 8b8d3a3451f12827490a78130012f5f3bf28f23c Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Fri, 22 Jun 2001 08:57:02 +0000 Subject: [PATCH] * libmath/stubs.c (powf): Fix typo. From-SVN: r43503 --- libstdc++-v3/ChangeLog | 1 + libstdc++-v3/libmath/stubs.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2