From 9cb069308c833d98b1ba9c78cb41cff0e90f323d Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 6 Oct 2016 12:57:07 +0530 Subject: Adjust calls to do_sincos_1 and do_sincos_2 in s_sincos.c Adjust calls to do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant instead of the numeric 0 and 1. This does not affect codegen. --- ChangeLog | 3 +++ sysdeps/ieee754/dbl-64/s_sincos.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d0cb39c..4a9676f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-10-06 Siddhesh Poyarekar + * 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 c389226..ca44b90 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; } -- cgit v1.1