diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-13 01:15:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-13 01:15:12 +0000 |
commit | 8de5da94ce5a2f01369ecc9dbe63684e6245dbdd (patch) | |
tree | d59bc1570dfbb115d9af625d7c4ce7d84d37227f /sysdeps/ieee754/flt-32 | |
parent | 0e3af135e1fed031413e54bc352a51537c3b7504 (diff) | |
download | glibc-8de5da94ce5a2f01369ecc9dbe63684e6245dbdd.tar glibc-8de5da94ce5a2f01369ecc9dbe63684e6245dbdd.tar.gz glibc-8de5da94ce5a2f01369ecc9dbe63684e6245dbdd.tar.bz2 glibc-8de5da94ce5a2f01369ecc9dbe63684e6245dbdd.zip |
Update.
2001-02-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
* sysdeps/flt-32/e_j0f.c: Likewise.
* sysdeps/ldbl-96/e_j0l.c: Likewise.
Diffstat (limited to 'sysdeps/ieee754/flt-32')
-rw-r--r-- | sysdeps/ieee754/flt-32/e_j0f.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/ieee754/flt-32/e_j0f.c b/sysdeps/ieee754/flt-32/e_j0f.c index c767318e3a..cbad70b92d 100644 --- a/sysdeps/ieee754/flt-32/e_j0f.c +++ b/sysdeps/ieee754/flt-32/e_j0f.c @@ -66,8 +66,7 @@ static float zero = 0.0; if(ix>=0x7f800000) return one/(x*x); x = fabsf(x); if(ix >= 0x40000000) { /* |x| >= 2.0 */ - s = __sinf(x); - c = __cosf(x); + __sincosf (x, &s, &c); ss = s-c; cc = s+c; if(ix<0x7f000000) { /* make sure x+x not overflow */ |