From c61c6d9880739d65e655d1e8b4b491a4010e49c9 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 16 Mar 2011 09:24:48 +0100 Subject: libm: change j0 to _j0 and y1 to _y1 to avoid shadow warning Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libm/e_pow.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libm/e_pow.c') diff --git a/libm/e_pow.c b/libm/e_pow.c index 3be900389..1be740e5e 100644 --- a/libm/e_pow.c +++ b/libm/e_pow.c @@ -94,7 +94,7 @@ ivln2_l = 1.92596299112661746887e-08; /* 0x3E54AE0B, 0xF85DDF44 =1/ln2 tail*/ double attribute_hidden __ieee754_pow(double x, double y) { double z,ax,z_h,z_l,p_h,p_l; - double y1,t1,t2,r,s,t,u,v,w; + double _y1,t1,t2,r,s,t,u,v,w; int32_t i,j,k,yisint,n; int32_t hx,hy,ix,iy; u_int32_t lx,ly; @@ -249,10 +249,10 @@ double attribute_hidden __ieee754_pow(double x, double y) s = -one;/* (-ve)**(odd int) */ /* split up y into y1+y2 and compute (y1+y2)*(t1+t2) */ - y1 = y; - SET_LOW_WORD(y1,0); - p_l = (y-y1)*t1+y*t2; - p_h = y1*t1; + _y1 = y; + SET_LOW_WORD(_y1,0); + p_l = (y-_y1)*t1+y*t2; + p_h = _y1*t1; z = p_l+p_h; EXTRACT_WORDS(j,i,z); if (j>=0x40900000) { /* z >= 1024 */ -- cgit v1.2.3