This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
powf(3m) stub
- To: gcc-patches at gcc dot gnu dot org
- Subject: powf(3m) stub
- From: Tony Kimball <alk at pobox dot com>
- Date: Fri, 22 Jun 2001 03:14:39 -0500
- Cc: libstdc++ at gcc dot gnu dot org
- Reply-To: alk at pobox dot com
Index: libstdc++-v3/libmath/stubs.c
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/libmath/stubs.c,v
retrieving revision 1.1
diff -u -r1.1 stubs.c
--- stubs.c 2001/06/22 03:43:48 1.1
+++ stubs.c 2001/06/22 08:13:10
@@ -72,9 +72,9 @@
#ifndef _GLIBCPP_HAVE_POWF
extern float
-powf(float x)
+powf(float x, float y)
{
- return (float) pow(x);
+ return (float) pow(x,y);
}
#endif