summaryrefslogtreecommitdiff
path: root/src/math/exp10f.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-01 00:07:37 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-01 00:07:37 -0400
commita917c03706d94564082d5ccff032a3e2c3dad537 (patch)
tree8b22f4853a063cc1413665f752eff41cd8f60135 /src/math/exp10f.c
parentda5d89d42fb47c648fb83645e5e4a55bae907032 (diff)
downloadmusl-a917c03706d94564082d5ccff032a3e2c3dad537.tar.gz
support alternate glibc name pow10 for exp10
Diffstat (limited to 'src/math/exp10f.c')
-rw-r--r--src/math/exp10f.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math/exp10f.c b/src/math/exp10f.c
index c9521411..b697eb9c 100644
--- a/src/math/exp10f.c
+++ b/src/math/exp10f.c
@@ -1,5 +1,6 @@
#define _GNU_SOURCE
#include <math.h>
+#include "libc.h"
float exp10f(float x)
{
@@ -15,3 +16,5 @@ float exp10f(float x)
}
return exp2(3.32192809488736234787031942948939 * x);
}
+
+weak_alias(exp10f, pow10f);