musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/exp10.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/exp10.c
parentda5d89d42fb47c648fb83645e5e4a55bae907032 (diff)
downloadmusl-a917c03706d94564082d5ccff032a3e2c3dad537.tar.gz
support alternate glibc name pow10 for exp10
Diffstat (limited to 'src/math/exp10.c')
-rw-r--r--src/math/exp10.c 3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math/exp10.c b/src/math/exp10.c
index 7fd86fba..16d704a7 100644
--- a/src/math/exp10.c
+++ b/src/math/exp10.c
@@ -1,5 +1,6 @@
#define _GNU_SOURCE
#include <math.h>
+#include "libc.h"
double exp10(double x)
{
@@ -17,3 +18,5 @@ double exp10(double x)
}
return pow(10.0, x);
}
+
+weak_alias(exp10, pow10);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月16日 12:25:45 +0000

AltStyle によって変換されたページ (->オリジナル) /