diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-16 09:24:48 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:25 +0200 |
commit | c61c6d9880739d65e655d1e8b4b491a4010e49c9 (patch) | |
tree | a4e427cd1462f79053a444b3719fcaaeffd927f1 /libm/e_hypot.c | |
parent | 0769334e2e1c8848757dcf6ca265b6c1dcf98e5d (diff) |
libm: change j0 to _j0 and y1 to _y1 to avoid shadow warning
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libm/e_hypot.c')
-rw-r--r-- | libm/e_hypot.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libm/e_hypot.c b/libm/e_hypot.c index 264982512..75674548e 100644 --- a/libm/e_hypot.c +++ b/libm/e_hypot.c @@ -46,7 +46,7 @@ double attribute_hidden __ieee754_hypot(double x, double y) { - double a=x,b=y,t1,t2,y1,y2,w; + double a=x,b=y,t1,t2,_y1,y2,w; int32_t j,k,ha,hb; GET_HIGH_WORD(ha,x); @@ -100,13 +100,13 @@ double attribute_hidden __ieee754_hypot(double x, double y) w = __ieee754_sqrt(t1*t1-(b*(-b)-t2*(a+t1))); } else { a = a+a; - y1 = 0; - SET_HIGH_WORD(y1,hb); - y2 = b - y1; + _y1 = 0; + SET_HIGH_WORD(_y1,hb); + y2 = b - _y1; t1 = 0; SET_HIGH_WORD(t1,ha+0x00100000); t2 = a - t1; - w = __ieee754_sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b))); + w = __ieee754_sqrt(t1*_y1-(w*(-w)-(t1*y2+t2*b))); } if(k!=0) { u_int32_t high; |