From 01155bb2352566f4ee43e9add6ff957def2b9787 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 20 Nov 2005 20:17:04 +0000 Subject: Restored a cleanup in rev.1.9 tthat was lost in rev.1.10. --- lib/msun/src/s_tanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/msun/src') diff --git a/lib/msun/src/s_tanf.c b/lib/msun/src/s_tanf.c index f97c4f6..852dc12 100644 --- a/lib/msun/src/s_tanf.c +++ b/lib/msun/src/s_tanf.c @@ -36,7 +36,7 @@ __kernel_tandf(double x, int iy) float tanf(float x) { - float y[2],z=0.0; + float y[2]; int32_t n, hx, ix; GET_FLOAT_WORD(hx,x); @@ -45,7 +45,7 @@ tanf(float x) if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ if(ix<0x39800000) /* |x| < 2**-12 */ if(((int)x)==0) return x; /* x with inexact if x != 0 */ - return __kernel_tanf(x,z,1); + return __kernel_tanf(x,0.0,1); } if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ if(ix<=0x4016cbe3) /* |x| ~<= 3pi/4 */ -- cgit v1.1