summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/dbl-64/e_j0.c3
-rw-r--r--sysdeps/ieee754/flt-32/e_j0f.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/e_j0l.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_j0.c b/sysdeps/ieee754/dbl-64/e_j0.c
index 00caf3f0d3..3fcec67ce4 100644
--- a/sysdeps/ieee754/dbl-64/e_j0.c
+++ b/sysdeps/ieee754/dbl-64/e_j0.c
@@ -111,8 +111,7 @@ static double zero = 0.0;
if(ix>=0x7ff00000) return one/(x*x);
x = fabs(x);
if(ix >= 0x40000000) { /* |x| >= 2.0 */
- s = __sin(x);
- c = __cos(x);
+ __sincos (x, &s, &c);
ss = s-c;
cc = s+c;
if(ix<0x7fe00000) { /* make sure x+x not overflow */
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 */
diff --git a/sysdeps/ieee754/ldbl-96/e_j0l.c b/sysdeps/ieee754/ldbl-96/e_j0l.c
index bec0f74470..85c54fa9d6 100644
--- a/sysdeps/ieee754/ldbl-96/e_j0l.c
+++ b/sysdeps/ieee754/ldbl-96/e_j0l.c
@@ -119,8 +119,7 @@ __ieee754_j0l (x)
x = fabsl (x);
if (ix >= 0x4000) /* |x| >= 2.0 */
{
- s = __sinl (x);
- c = __cosl (x);
+ __sincosl (x, &s, &c);
ss = s - c;
cc = s + c;
if (ix < 0x7ffe)