aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/ieee754/dbl-64/s_sincos.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d0cb39c0c3..4a9676f93c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
+ * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
+ do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
+
* sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
K boolean and rename it.
(__sin): Adjust.
diff --git a/sysdeps/ieee754/dbl-64/s_sincos.c b/sysdeps/ieee754/dbl-64/s_sincos.c
index c389226b04..ca44b9008f 100644
--- a/sysdeps/ieee754/dbl-64/s_sincos.c
+++ b/sysdeps/ieee754/dbl-64/s_sincos.c
@@ -80,8 +80,8 @@ __sincos (double x, double *sinx, double *cosx)
double a, da;
int4 n = reduce_sincos_1 (x, &a, &da);
- *sinx = do_sincos_1 (a, da, x, n, 0);
- *cosx = do_sincos_1 (a, da, x, n, 1);
+ *sinx = do_sincos_1 (a, da, x, n, false);
+ *cosx = do_sincos_1 (a, da, x, n, true);
return;
}
@@ -90,8 +90,8 @@ __sincos (double x, double *sinx, double *cosx)
double a, da;
int4 n = reduce_sincos_2 (x, &a, &da);
- *sinx = do_sincos_2 (a, da, x, n, 0);
- *cosx = do_sincos_2 (a, da, x, n, 1);
+ *sinx = do_sincos_2 (a, da, x, n, false);
+ *cosx = do_sincos_2 (a, da, x, n, true);
return;
}