diff options
author | Andreas Jaeger <aj@suse.de> | 2001-04-07 18:31:54 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-04-07 18:31:54 +0000 |
commit | 68b0e1db3045797cd8905f80923de751ec75c3f9 (patch) | |
tree | c3218bdd4ce471403fdcd98b0213db748dc9eb94 /sysdeps/ieee754/ldbl-96 | |
parent | f5eefa621328c1e67b9a322187ebe777b13b280d (diff) | |
download | glibc-68b0e1db3045797cd8905f80923de751ec75c3f9.tar.gz glibc-68b0e1db3045797cd8905f80923de751ec75c3f9.tar.xz glibc-68b0e1db3045797cd8905f80923de751ec75c3f9.zip |
* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
instead of separate sin and cos. (__ieee754_j1l): Likewise.
Diffstat (limited to 'sysdeps/ieee754/ldbl-96')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/e_j1l.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/ieee754/ldbl-96/e_j1l.c b/sysdeps/ieee754/ldbl-96/e_j1l.c index 67d4cc8b4e..1cf8188ec4 100644 --- a/sysdeps/ieee754/ldbl-96/e_j1l.c +++ b/sysdeps/ieee754/ldbl-96/e_j1l.c @@ -119,8 +119,7 @@ __ieee754_j1l (x) y = fabsl (x); if (ix >= 0x4000) { /* |x| >= 2.0 */ - s = __sinl (y); - c = __cosl (y); + __sincosl (y, &s, &c); ss = -s - c; cc = s - c; if (ix < 0x7ffe) @@ -214,8 +213,7 @@ __ieee754_y1l (x) return -one / zero; if (ix >= 0x4000) { /* |x| >= 2.0 */ - s = __sinl (x); - c = __cosl (x); + __sincosl (x, &s, &c); ss = -s - c; cc = s - c; if (ix < 0x7fe00000) |