From 350635a59a000fa4561d0d8bbe6814b4b9df530c Mon Sep 17 00:00:00 2001 From: Ondrej Bilka Date: Thu, 6 Jun 2013 19:36:03 +0200 Subject: Fix leading whitespaces. --- sysdeps/ieee754/dbl-64/k_rem_pio2.c | 6 +++--- sysdeps/ieee754/flt-32/e_rem_pio2f.c | 10 +++++----- sysdeps/ieee754/flt-32/k_rem_pio2f.c | 6 +++--- sysdeps/ieee754/ldbl-128/e_expl.c | 2 +- sysdeps/ieee754/ldbl-128/ldbl2mpn.c | 2 +- sysdeps/ieee754/ldbl-128/s_fpclassifyl.c | 2 +- sysdeps/ieee754/ldbl-128/s_llrintl.c | 2 +- sysdeps/ieee754/ldbl-128/s_llroundl.c | 2 +- sysdeps/ieee754/ldbl-128/s_lrintl.c | 2 +- sysdeps/ieee754/ldbl-128/s_lroundl.c | 2 +- sysdeps/ieee754/ldbl-128/s_nexttoward.c | 2 +- sysdeps/ieee754/ldbl-128/s_truncl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/e_expl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c | 20 ++++++++++---------- sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c | 20 ++++++++++---------- sysdeps/ieee754/ldbl-96/ldbl2mpn.c | 2 +- sysdeps/ieee754/support.c | 8 ++++---- 19 files changed, 48 insertions(+), 48 deletions(-) (limited to 'sysdeps/ieee754') diff --git a/sysdeps/ieee754/dbl-64/k_rem_pio2.c b/sysdeps/ieee754/dbl-64/k_rem_pio2.c index fcf956afbe..ec4b4cf600 100644 --- a/sysdeps/ieee754/dbl-64/k_rem_pio2.c +++ b/sysdeps/ieee754/dbl-64/k_rem_pio2.c @@ -211,9 +211,9 @@ recompute: if(q0>0) { /* rare case: chance is 1 in 12 */ switch(q0) { case 1: - iq[jz-1] &= 0x7fffff; break; - case 2: - iq[jz-1] &= 0x3fffff; break; + iq[jz-1] &= 0x7fffff; break; + case 2: + iq[jz-1] &= 0x3fffff; break; } } if(ih==2) { diff --git a/sysdeps/ieee754/flt-32/e_rem_pio2f.c b/sysdeps/ieee754/flt-32/e_rem_pio2f.c index 702fbf520d..0928373498 100644 --- a/sysdeps/ieee754/flt-32/e_rem_pio2f.c +++ b/sysdeps/ieee754/flt-32/e_rem_pio2f.c @@ -145,11 +145,11 @@ int32_t __ieee754_rem_pio2f(float x, float *y) GET_FLOAT_WORD(high,y[0]); i = j-((high>>23)&0xff); if(i>25) { /* 3rd iteration need, 74 bits acc */ - t = r; /* will cover all possible cases */ - w = fn*pio2_3; - r = t-w; - w = fn*pio2_3t-((t-r)-w); - y[0] = r-w; + t = r; /* will cover all possible cases */ + w = fn*pio2_3; + r = t-w; + w = fn*pio2_3t-((t-r)-w); + y[0] = r-w; } } } diff --git a/sysdeps/ieee754/flt-32/k_rem_pio2f.c b/sysdeps/ieee754/flt-32/k_rem_pio2f.c index b19e5e07f0..6f14d5bac7 100644 --- a/sysdeps/ieee754/flt-32/k_rem_pio2f.c +++ b/sysdeps/ieee754/flt-32/k_rem_pio2f.c @@ -104,9 +104,9 @@ recompute: if(q0>0) { /* rare case: chance is 1 in 12 */ switch(q0) { case 1: - iq[jz-1] &= 0x7f; break; - case 2: - iq[jz-1] &= 0x3f; break; + iq[jz-1] &= 0x7f; break; + case 2: + iq[jz-1] &= 0x3f; break; } } if(ih==2) { diff --git a/sysdeps/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c index a9a164fb88..589f957c23 100644 --- a/sysdeps/ieee754/ldbl-128/e_expl.c +++ b/sysdeps/ieee754/ldbl-128/e_expl.c @@ -215,7 +215,7 @@ __ieee754_expl (long double x) ex3_u.d = (result - ex2_u.d) - x22 * ex2_u.d; ex2_u.d = result; ex3_u.ieee.exponent += LDBL_MANT_DIG + 15 + IEEE854_LONG_DOUBLE_BIAS - - ex2_u.ieee.exponent; + - ex2_u.ieee.exponent; n_i = abs (ex3_u.d); n_i = (n_i + 1) / 2; fesetenv (&oldenv); diff --git a/sysdeps/ieee754/ldbl-128/ldbl2mpn.c b/sysdeps/ieee754/ldbl-128/ldbl2mpn.c index bae297119a..64f98a59d2 100644 --- a/sysdeps/ieee754/ldbl-128/ldbl2mpn.c +++ b/sysdeps/ieee754/ldbl-128/ldbl2mpn.c @@ -69,7 +69,7 @@ __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, else { /* It is a denormal number, meaning it has no implicit leading - one bit, and its exponent is in fact the format minimum. */ + one bit, and its exponent is in fact the format minimum. */ int cnt; #if N == 2 diff --git a/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c b/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c index 127c7214ac..dc57ba9ca3 100644 --- a/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c +++ b/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c @@ -2,7 +2,7 @@ Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and - Jakub Jelinek , 1999. + Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/sysdeps/ieee754/ldbl-128/s_llrintl.c b/sysdeps/ieee754/ldbl-128/s_llrintl.c index 5a841fb1d3..9d56cf120f 100644 --- a/sysdeps/ieee754/ldbl-128/s_llrintl.c +++ b/sysdeps/ieee754/ldbl-128/s_llrintl.c @@ -3,7 +3,7 @@ Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and - Jakub Jelinek , 1999. + Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/sysdeps/ieee754/ldbl-128/s_llroundl.c b/sysdeps/ieee754/ldbl-128/s_llroundl.c index 0c9298828a..c2136d9904 100644 --- a/sysdeps/ieee754/ldbl-128/s_llroundl.c +++ b/sysdeps/ieee754/ldbl-128/s_llroundl.c @@ -2,7 +2,7 @@ Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and - Jakub Jelinek , 1999. + Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/sysdeps/ieee754/ldbl-128/s_lrintl.c b/sysdeps/ieee754/ldbl-128/s_lrintl.c index 1c9b38fd6d..61c508f203 100644 --- a/sysdeps/ieee754/ldbl-128/s_lrintl.c +++ b/sysdeps/ieee754/ldbl-128/s_lrintl.c @@ -3,7 +3,7 @@ Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and - Jakub Jelinek , 1999. + Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/sysdeps/ieee754/ldbl-128/s_lroundl.c b/sysdeps/ieee754/ldbl-128/s_lroundl.c index ff3df63490..68256ecbe2 100644 --- a/sysdeps/ieee754/ldbl-128/s_lroundl.c +++ b/sysdeps/ieee754/ldbl-128/s_lroundl.c @@ -2,7 +2,7 @@ Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and - Jakub Jelinek , 1999. + Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/sysdeps/ieee754/ldbl-128/s_nexttoward.c b/sysdeps/ieee754/ldbl-128/s_nexttoward.c index 1ea0b64331..2cd2e58391 100644 --- a/sysdeps/ieee754/ldbl-128/s_nexttoward.c +++ b/sysdeps/ieee754/ldbl-128/s_nexttoward.c @@ -43,7 +43,7 @@ double __nexttoward(double x, long double y) if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ ((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0)) - /* y is nan */ + /* y is nan */ return x+y; if((long double) x==y) return y; /* x=y, return y */ if((ix|lx)==0) { /* x == 0 */ diff --git a/sysdeps/ieee754/ldbl-128/s_truncl.c b/sysdeps/ieee754/ldbl-128/s_truncl.c index 061ce8862b..cd9f44802d 100644 --- a/sysdeps/ieee754/ldbl-128/s_truncl.c +++ b/sysdeps/ieee754/ldbl-128/s_truncl.c @@ -2,7 +2,7 @@ Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and - Jakub Jelinek , 1999. + Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/sysdeps/ieee754/ldbl-128ibm/e_expl.c b/sysdeps/ieee754/ldbl-128ibm/e_expl.c index 9fd61983e3..b599f369a7 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_expl.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_expl.c @@ -223,7 +223,7 @@ __ieee754_expl (long double x) ex3_u.d = (result - ex2_u.d) - x22 * ex2_u.d; ex2_u.d = result; ex3_u.ieee.exponent += LDBL_MANT_DIG + 15 + IEEE854_LONG_DOUBLE_BIAS - - ex2_u.ieee.exponent; + - ex2_u.ieee.exponent; n_i = abs (ex3_u.d); n_i = (n_i + 1) / 2; fesetenv (&oldenv); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c b/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c index c0dcf7f6f3..f4a90b08c7 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c @@ -2,7 +2,7 @@ Copyright (C) 1997-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and - Jakub Jelinek , 1999. + Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c b/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c index 40f0c46990..7e288a4368 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c @@ -45,7 +45,7 @@ double __nexttoward(double x, long double y) if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ ((iy>=0x7ff0000000000000LL)&&((iy-0x7ff0000000000000LL)|uly)!=0)) - /* y is nan */ + /* y is nan */ return x+y; if((long double) x==y) return y; /* x=y, return y */ if((ix|lx)==0) { /* x == 0 */ diff --git a/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c b/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c index e84561701f..d752568885 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c @@ -61,14 +61,14 @@ long double __scalblnl (long double x, long int n) if (k > 0) { /* normal result */ hx = (hx&0x800fffffffffffffULL)|(k<<52); if ((lx & 0x7fffffffffffffffULL) == 0) { /* low part +-0 */ - SET_LDOUBLE_WORDS64(x,hx,lx); - return x; + SET_LDOUBLE_WORDS64(x,hx,lx); + return x; } if (l == 0) { /* low part subnormal */ - u.i = lx; - u.d *= two54; - lx = u.i; - l = ((lx>>52)&0x7ff) - 54; + u.i = lx; + u.d *= two54; + lx = u.i; + l = ((lx>>52)&0x7ff) - 54; } l = l + n; if (l > 0) @@ -76,10 +76,10 @@ long double __scalblnl (long double x, long int n) else if (l <= -54) lx = (lx&0x8000000000000000ULL); else { - l += 54; - u.i = (lx&0x800fffffffffffffULL)|(l<<52); - u.d *= twom54; - lx = u.i; + l += 54; + u.i = (lx&0x800fffffffffffffULL)|(l<<52); + u.d *= twom54; + lx = u.i; } SET_LDOUBLE_WORDS64(x,hx,lx); return x; diff --git a/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c b/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c index 01cdb70e1d..bcdb23bdaa 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c @@ -61,14 +61,14 @@ long double __scalbnl (long double x, int n) if (k > 0) { /* normal result */ hx = (hx&0x800fffffffffffffULL)|(k<<52); if ((lx & 0x7fffffffffffffffULL) == 0) { /* low part +-0 */ - SET_LDOUBLE_WORDS64(x,hx,lx); - return x; + SET_LDOUBLE_WORDS64(x,hx,lx); + return x; } if (l == 0) { /* low part subnormal */ - u.i = lx; - u.d *= two54; - lx = u.i; - l = ((lx>>52)&0x7ff) - 54; + u.i = lx; + u.d *= two54; + lx = u.i; + l = ((lx>>52)&0x7ff) - 54; } l = l + n; if (l > 0) @@ -76,10 +76,10 @@ long double __scalbnl (long double x, int n) else if (l <= -54) lx = (lx&0x8000000000000000ULL); else { - l += 54; - u.i = (lx&0x800fffffffffffffULL)|(l<<52); - u.d *= twom54; - lx = u.i; + l += 54; + u.i = (lx&0x800fffffffffffffULL)|(l<<52); + u.d *= twom54; + lx = u.i; } SET_LDOUBLE_WORDS64(x,hx,lx); return x; diff --git a/sysdeps/ieee754/ldbl-96/ldbl2mpn.c b/sysdeps/ieee754/ldbl-96/ldbl2mpn.c index 18bf104586..3f85e0ae90 100644 --- a/sysdeps/ieee754/ldbl-96/ldbl2mpn.c +++ b/sysdeps/ieee754/ldbl-96/ldbl2mpn.c @@ -62,7 +62,7 @@ __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, else { /* It is a denormal number, meaning it has no implicit leading - one bit, and its exponent is in fact the format minimum. */ + one bit, and its exponent is in fact the format minimum. */ int cnt; if (res_ptr[N - 1] != 0) diff --git a/sysdeps/ieee754/support.c b/sysdeps/ieee754/support.c index 2651ea8be4..00476c0ed9 100644 --- a/sysdeps/ieee754/support.c +++ b/sysdeps/ieee754/support.c @@ -354,16 +354,16 @@ double x,y; static const n0=0,n1=1,n2=2,n3=3; #endif - static const unsigned short mexp =0x7ff0, m25 =0x0190, m57 =0x0390; + static const unsigned short mexp =0x7ff0, m25 =0x0190, m57 =0x0390; static const double zero=0.0; double hy,y1,t,t1; short k; long n; int i,e; unsigned short xexp,yexp, *px =(unsigned short *) &x , - nx,nf, *py =(unsigned short *) &y , - sign, *pt =(unsigned short *) &t , - *pt1 =(unsigned short *) &t1 ; + nx,nf, *py =(unsigned short *) &y , + sign, *pt =(unsigned short *) &t , + *pt1 =(unsigned short *) &t1 ; xexp = px[n0] & mexp ; /* exponent of x */ yexp = py[n0] & mexp ; /* exponent of y */ -- cgit 1.4.1