diff options
author | bde <bde@FreeBSD.org> | 2005-11-20 20:17:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2005-11-20 20:17:04 +0000 |
commit | 01155bb2352566f4ee43e9add6ff957def2b9787 (patch) | |
tree | a516afa7680b2958792caee5b1c44481ecd985c6 /lib/msun | |
parent | b71f548d2c4531c4761908d6242cdded83e280d9 (diff) | |
download | FreeBSD-src-01155bb2352566f4ee43e9add6ff957def2b9787.zip FreeBSD-src-01155bb2352566f4ee43e9add6ff957def2b9787.tar.gz |
Restored a cleanup in rev.1.9 tthat was lost in rev.1.10.
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/src/s_tanf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |