diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-17 22:33:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-17 22:33:08 +0000 |
commit | f1b1085824c10bd5a8ab6aa460d2d8952199d8fe (patch) | |
tree | 37ef796f760e405e11b5ee627c38c49b9111b6d2 /sysdeps/ieee754/dbl-64/s_erf.c | |
parent | 38c097cae8e1da0a0b90ac81102795b2198646ca (diff) | |
download | glibc-f1b1085824c10bd5a8ab6aa460d2d8952199d8fe.tar glibc-f1b1085824c10bd5a8ab6aa460d2d8952199d8fe.tar.gz glibc-f1b1085824c10bd5a8ab6aa460d2d8952199d8fe.tar.bz2 glibc-f1b1085824c10bd5a8ab6aa460d2d8952199d8fe.zip |
Update.
* sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_erf.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_erf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_erf.c b/sysdeps/ieee754/dbl-64/s_erf.c index d8b6629a72..94fb5c964f 100644 --- a/sysdeps/ieee754/dbl-64/s_erf.c +++ b/sysdeps/ieee754/dbl-64/s_erf.c @@ -246,8 +246,8 @@ sb[] = {0.0,3.03380607434824582924e+01, /* 0x403E568B, 0x261D5190 */ Q2 = qa[2]+s*qa[3]; P3 = pa[4]+s*pa[5]; Q3 = qa[4]+s*qa[5]; - P4 = s6*pa[6]; - Q4 = s6*qa[6]; + P4 = pa[6]; + Q4 = qa[6]; P = P1 + s2*P2 + s4*P3 + s6*P4; Q = Q1 + s2*Q2 + s4*Q3 + s6*Q4; #endif @@ -362,8 +362,8 @@ weak_alias (__erf, erfl) Q2 = qa[2]+s*qa[3]; P3 = pa[4]+s*pa[5]; Q3 = qa[4]+s*qa[5]; - P4 = s6*pa[6]; - Q4 = s6*qa[6]; + P4 = pa[6]; + Q4 = qa[6]; P = P1 + s2*P2 + s4*P3 + s6*P4; Q = Q1 + s2*Q2 + s4*Q3 + s6*Q4; #endif |