diff options
author | Roland McGrath <roland@gnu.org> | 2003-01-20 05:25:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-01-20 05:25:30 +0000 |
commit | 86583139a4d746743ccffcd72e25d96c5fb8d488 (patch) | |
tree | 8fc295cfb5068fdf592379126f705033c925a399 /sysdeps/ieee754/dbl-64 | |
parent | b677d6742888747613ebb4dbe4bbb4dbe6e07087 (diff) | |
download | glibc-86583139a4d746743ccffcd72e25d96c5fb8d488.tar glibc-86583139a4d746743ccffcd72e25d96c5fb8d488.tar.gz glibc-86583139a4d746743ccffcd72e25d96c5fb8d488.tar.bz2 glibc-86583139a4d746743ccffcd72e25d96c5fb8d488.zip |
2003-01-20 Segher Boessenkool <segher@koffie.nl>
* sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
compute the cosine, not the sine, even if x > 0.8.
Diffstat (limited to 'sysdeps/ieee754/dbl-64')
-rw-r--r-- | sysdeps/ieee754/dbl-64/sincos32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/sincos32.c b/sysdeps/ieee754/dbl-64/sincos32.c index 989982ecdf..a4f896a465 100644 --- a/sysdeps/ieee754/dbl-64/sincos32.c +++ b/sysdeps/ieee754/dbl-64/sincos32.c @@ -214,7 +214,7 @@ double __mpcos(double x, double dx) { __add(&a,&b,&c,p); if (x>0.8) { __sub(&hp,&c,&b,p); - __c32(&b,&a,&c,p); + __c32(&b,&c,&a,p); } else __c32(&c,&a,&b,p); /* a = cos(x+dx) */ __mp_dbl(&a,&y,p); |