diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-02-04 09:26:08 -0800 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-02-04 09:28:24 -0800 |
commit | 306a7db8263c217b0e017f84241832f531449849 (patch) | |
tree | c4238865485b9c555e923641b7706ed98e93d41a /libm | |
parent | 5d5b6fe5f898ce6ef260b1648aaaf7f12a8c7988 (diff) |
libm: enable log2f and exp2f
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libm')
-rw-r--r-- | libm/Makefile.in | 4 | ||||
-rw-r--r-- | libm/float_wrappers.c | 4 |
2 files changed, 5 insertions, 3 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..e1ab8b57c 100644 --- a/libm/float_wrappers.c +++ b/libm/float_wrappers.c @@ -41,12 +41,10 @@ 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);*/ #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 +68,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 +82,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); |