diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2013-09-10 19:14:51 +0200 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-09-10 19:15:33 +0200 |
commit | c7cabd1355e79b7e111904bb3985908cae185b73 (patch) | |
tree | a2bc1962e88ad4de6e9149eb9cebc978d98e00f0 /sysdeps/ieee754/dbl-64/s_log1p.c | |
parent | aa04af0078dafb6af40b1ee0ede140eedbf67c4f (diff) | |
download | glibc-c7cabd1355e79b7e111904bb3985908cae185b73.tar.gz glibc-c7cabd1355e79b7e111904bb3985908cae185b73.tar.xz glibc-c7cabd1355e79b7e111904bb3985908cae185b73.zip |
Remove DO_NOT_USE_THIS conditionals.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_log1p.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_log1p.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_log1p.c b/sysdeps/ieee754/dbl-64/s_log1p.c index e3e6860966..0c6f76371a 100644 --- a/sysdeps/ieee754/dbl-64/s_log1p.c +++ b/sysdeps/ieee754/dbl-64/s_log1p.c @@ -156,15 +156,11 @@ __log1p(double x) } s = f/(2.0+f); z = s*s; -#ifdef DO_NOT_USE_THIS - R = z*(Lp1+z*(Lp2+z*(Lp3+z*(Lp4+z*(Lp5+z*(Lp6+z*Lp7)))))); -#else R1 = z*Lp[1]; z2=z*z; R2 = Lp[2]+z*Lp[3]; z4=z2*z2; R3 = Lp[4]+z*Lp[5]; z6=z4*z2; R4 = Lp[6]+z*Lp[7]; R = R1 + z2*R2 + z4*R3 + z6*R4; -#endif if(k==0) return f-(hfsq-s*(hfsq+R)); else return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f); } |