diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-13 01:23:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-13 01:23:48 +0000 |
commit | 5d2a88a70e3a40d93e7c6c821b9f22746b3a11a3 (patch) | |
tree | aad692051ec8635ec14fcebf8aa714f637f3b569 /sysdeps/ieee754/flt-32/e_j0f.c | |
parent | 8de5da94ce5a2f01369ecc9dbe63684e6245dbdd (diff) | |
download | glibc-5d2a88a70e3a40d93e7c6c821b9f22746b3a11a3.tar glibc-5d2a88a70e3a40d93e7c6c821b9f22746b3a11a3.tar.gz glibc-5d2a88a70e3a40d93e7c6c821b9f22746b3a11a3.tar.bz2 glibc-5d2a88a70e3a40d93e7c6c821b9f22746b3a11a3.zip |
Little optimization, use sincos.
Diffstat (limited to 'sysdeps/ieee754/flt-32/e_j0f.c')
-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 cbad70b92d..b3b20524f9 100644 --- a/sysdeps/ieee754/flt-32/e_j0f.c +++ b/sysdeps/ieee754/flt-32/e_j0f.c @@ -147,8 +147,7 @@ v04 = 4.4111031494e-10; /* 0x2ff280c2 */ * sin(x) +- cos(x) = -cos(2x)/(sin(x) -+ cos(x)) * to compute the worse one. */ - s = __sinf(x); - c = __cosf(x); + __sincosf (x, &s, &c); ss = s-c; cc = s+c; /* |