summaryrefslogtreecommitdiffstats
path: root/newlib/libm/math/e_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/e_log.c')
-rw-r--r--newlib/libm/math/e_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/math/e_log.c b/newlib/libm/math/e_log.c
index 774ca389f..72cddb2f8 100644
--- a/newlib/libm/math/e_log.c
+++ b/newlib/libm/math/e_log.c
@@ -117,8 +117,8 @@ static double zero = 0.0;
k += (i>>20);
f = x-1.0;
if((0x000fffff&(2+hx))<3) { /* |f| < 2**-20 */
- if(f==zero) if(k==0) return zero; else {dk=(double)k;
- return dk*ln2_hi+dk*ln2_lo;}
+ if(f==zero) { if(k==0) return zero; else {dk=(double)k;
+ return dk*ln2_hi+dk*ln2_lo;}}
R = f*f*(0.5-0.33333333333333333*f);
if(k==0) return f-R; else {dk=(double)k;
return dk*ln2_hi-((R-dk*ln2_lo)-f);}