OSDN Git Service

* libmath/stubs.c (powf): Fix typo.
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2001 08:57:02 +0000 (08:57 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2001 08:57:02 +0000 (08:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43503 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/libmath/stubs.c

index dbc6e7d..468f90f 100644 (file)
@@ -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.
index bf6d714..f25cb60 100644 (file)
@@ -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