summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-05 11:10:14 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-05 11:10:32 -0800
commitf7eba78a7464c7b31326abf92dab254608835028 (patch)
tree5558a9e8d2c7c4484387030427701d81bd8b83e5 /libm
parent3e808a4c28f214314e8457672fae0f5d17f5450a (diff)
parentdf1580676a48dc3a9faf7e508ad3ec822a8e5a05 (diff)
Merge commit 'origin/master' into nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libm')
-rw-r--r--libm/Makefile.in4
-rw-r--r--libm/float_wrappers.c7
2 files changed, 7 insertions, 4 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index 56b2d76c3..6eb935851 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -75,7 +75,7 @@ libm_CSRC := \
s_remquo.c w_exp2.c
# Not implemented [yet?], see comment in float_wrappers.c:
-# exp2f.o fdimf.o fmaf.o fmaxf.o fminf.o log2f.o
+# fdimf.o fmaf.o fmaxf.o fminf.o
# nearbyintf.o remquof.o scalblnf.o tgammaf.o
FL_MOBJ := \
acosf.o \
@@ -93,6 +93,7 @@ FL_MOBJ := \
coshf.o \
erfcf.o \
erff.o \
+ exp2f.o \
expf.o \
expm1f.o \
fabsf.o \
@@ -108,6 +109,7 @@ FL_MOBJ := \
llroundf.o \
log10f.o \
log1pf.o \
+ log2f.o \
logbf.o \
logf.o \
lrintf.o \
diff --git a/libm/float_wrappers.c b/libm/float_wrappers.c
index 93d56c3c9..a13aac93a 100644
--- a/libm/float_wrappers.c
+++ b/libm/float_wrappers.c
@@ -40,13 +40,12 @@ long long func##f (float x) \
/* For the time being, do _NOT_ implement these functions
- * that are defined by SuSv3 [why?] */
-#undef L_exp2f /*float exp2f(float);*/
+ * that are defined by SuSv3 [because we don't need them
+ * and nobody asked to include them] */
#undef L_fdimf /*float fdimf(float, float);*/
#undef L_fmaf /*float fmaf(float, float, float);*/
#undef L_fmaxf /*float fmaxf(float, float);*/
#undef L_fminf /*float fminf(float, float);*/
-#undef L_log2f /*float log2f(float);*/
#undef L_nearbyintf /*float nearbyintf(float);*/
#undef L_nexttowardf /*float nexttowardf(float, long double);*/
#undef L_remquof /*float remquof(float, float, int *);*/
@@ -70,6 +69,7 @@ float cosf(float);
float coshf(float);
float erfcf(float);
float erff(float);
+float exp2f(float);
float expf(float);
float expm1f(float);
float fabsf(float);
@@ -83,6 +83,7 @@ float lgammaf(float);
long long llroundf(float);
float log10f(float);
float log1pf(float);
+float log2f(float);
float logbf(float);
float logf(float);
long lroundf(float);