From 71e93002041d0d43f7d58fe175c09d522b460d1e Mon Sep 17 00:00:00 2001 From: nsz Date: Sun, 11 Mar 2012 20:10:15 +0100 Subject: [PATCH] fix __expf.c (enable __ldexp_cexpf) --- src/cmath/ctanh.c | 1 - src/math/__expf.c | 3 --- test/tgmath/Makefile | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/cmath/ctanh.c b/src/cmath/ctanh.c index d9bd4a7..dd569fc 100644 --- a/src/cmath/ctanh.c +++ b/src/cmath/ctanh.c @@ -24,7 +24,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - /* * Hyperbolic tangent of a complex argument z = x + i y. * diff --git a/src/math/__expf.c b/src/math/__expf.c index 3623faa..fa4fcdc 100644 --- a/src/math/__expf.c +++ b/src/math/__expf.c @@ -59,8 +59,6 @@ float __ldexp_expf(float x, int expt) return exp_x * scale; } -// FIXME -#if 0 float complex __ldexp_cexpf(float complex z, int expt) { float x, y, exp_x, scale1, scale2; @@ -79,4 +77,3 @@ float complex __ldexp_cexpf(float complex z, int expt) return (cpackf(cosf(y) * exp_x * scale1 * scale2, sinf(y) * exp_x * scale1 * scale2)); } -#endif diff --git a/test/tgmath/Makefile b/test/tgmath/Makefile index b11fcf6..e84de68 100644 --- a/test/tgmath/Makefile +++ b/test/tgmath/Makefile @@ -1,7 +1,7 @@ CFLAGS=-g -Wall -D_GNU_SOURCE -fno-builtin -ffloat-store -std=c99 -I../../include LDFLAGS=-g -all: tsystem +all: t tsystem clean: rm -f *.o t tsystem -- 2.20.1