Commit 8b8d3a34 by Gabriel Dos Reis Committed by Gabriel Dos Reis

* libmath/stubs.c (powf): Fix typo.

From-SVN: r43503
parent 1a79c401
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* libmath/stubs.c: New file. * libmath/stubs.c: New file.
(tanhf): Fix typo. (tanhf): Fix typo.
(powf): Likewise.
* libmath/Makefile.am (libmath_la_SOURCES): Add. * libmath/Makefile.am (libmath_la_SOURCES): Add.
* libmath/Makefile.in. Regenerate. * libmath/Makefile.in. Regenerate.
......
...@@ -72,9 +72,9 @@ log10f(float x) ...@@ -72,9 +72,9 @@ log10f(float x)
#ifndef _GLIBCPP_HAVE_POWF #ifndef _GLIBCPP_HAVE_POWF
float float
powf(float x) powf(float x, float y)
{ {
return (float) pow(x); return (float) pow(x, y);
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment