diff options
author | 2006-04-25 18:15:36 +0000 | |
---|---|---|
committer | 2006-04-25 18:15:36 +0000 | |
commit | 55fa043fb614f21583674600aad40928e3543fb2 (patch) | |
tree | 925be78444cffad62b1e9f40ecea2984bbe18734 /lib/libm/src/e_powf.c | |
parent | enable udcf, why not (diff) | |
download | wireguard-openbsd-55fa043fb614f21583674600aad40928e3543fb2.tar.xz wireguard-openbsd-55fa043fb614f21583674600aad40928e3543fb2.zip |
Avoid shadowing of external symbols by local variables; whoever
thought up the names of the bessel functions deserves a beating.
ok deraadt@
Diffstat (limited to 'lib/libm/src/e_powf.c')
-rw-r--r-- | lib/libm/src/e_powf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libm/src/e_powf.c b/lib/libm/src/e_powf.c index 40659832393..0555bf85b0c 100644 --- a/lib/libm/src/e_powf.c +++ b/lib/libm/src/e_powf.c @@ -57,7 +57,7 @@ float __ieee754_powf(float x, float y) { float z,ax,z_h,z_l,p_h,p_l; - float y1,t1,t2,r,s,t,u,v,w; + float yy1,t1,t2,r,s,t,u,v,w; int32_t i,j,k,yisint,n; int32_t hx,hy,ix,iy,is; @@ -195,11 +195,11 @@ __ieee754_powf(float x, float y) if(((((u_int32_t)hx>>31)-1)|(yisint-1))==0) s = -one; /* (-ve)**(odd int) */ - /* split up y into y1+y2 and compute (y1+y2)*(t1+t2) */ + /* split up y into yy1+y2 and compute (yy1+y2)*(t1+t2) */ GET_FLOAT_WORD(is,y); - SET_FLOAT_WORD(y1,is&0xfffff000); - p_l = (y-y1)*t1+y*t2; - p_h = y1*t1; + SET_FLOAT_WORD(yy1,is&0xfffff000); + p_l = (y-yy1)*t1+y*t2; + p_h = yy1*t1; z = p_l+p_h; GET_FLOAT_WORD(j,z); if (j>0x43000000) /* if z > 128 */ |